Constructor PhysicsWorld
PhysicsWorld(int, int, int)
Construct a world with the given number of uninitialized bodies and joints.
Declaration
public PhysicsWorld(int numStaticBodies, int numDynamicBodies, int numJoints)
Parameters
Type | Name | Description |
---|---|---|
int | numStaticBodies | Number of static bodies. |
int | numDynamicBodies | Number of dynamic bodies. |
int | numJoints | Number of joints. |