removeBodyNextStep(body)
This will add a P2 Physics body into the removal list for the next step.
Parameters
Name | Type | Description |
---|---|---|
body | Phaser.Physics.P2.Body | The body to remove at the start of the next step. |
- Source code: physics/p2/World.js (Line 283)
Please login to continue.