addBody(body) → {boolean}
Add a body to the world.
Parameters
Name | Type | Description |
---|---|---|
body | Phaser.Physics.P2.Body | The Body to add to the World. |
Returns
boolean -
True if the Body was added successfully, otherwise false.
- Source code: physics/p2/World.js (Line 887)
Please login to continue.