Function setPhysicsBodyShape
-
Parameters
- world: PhysicsWorld
The physics world.
- body: PhysicsBody
The body to attach the shape to.
- shape: PhysicsShape
The collision shape.
Returns void
- world: PhysicsWorld
The physics world.
The body to attach the shape to.
The collision shape.
Assigns a collision shape to a body.