Parameter | Description |
---|---|
world | The world to create the body in. |
PhysicsBody The created body.
Create a body using PhysicsBodyDefinition.defaultDefinition in the specified world.
Parameter | Description |
---|---|
world | The world to create the body in. |
definition | The body definition to use. |
PhysicsBody The created body.
Create a body in the specified world.