class PhysicsWorldsealedSource
Physical simulation of the world
Constructors 2
private void PhysicsWorld()private void ~PhysicsWorld()Methods 8
static proto void SetInteractionLayer(notnull IEntity worldEntity, int mask1, int mask2, bool enable)Modifies interaction matrix of interaction layers
worldEntity- Entity used to obtain world in which entities exist
mask1- Bit mask of layers
mask2- Other bit mask of layers
enable- True to enable, false to disable interaction
Returns global gravity
worldEntity- Entity used to obtain world in which entities exist
Changes global gravity.
worldEntity- Entity used to obtain world in which entities exist
g- Global gravity vector
Returns current fixed time step of the physics simulation
worldEntity- Entity used to obtain world in which entities exist
Returns current update rate of the physics simulation
worldEntity- Entity used to obtain world in which entities exist
Sets update rate to change fixed time step of the physics simulation
worldEntity- Entity used to obtain world in which entities exist
updateRate- Update rate of the physics simulation. Between 20 and 1000
Returns number of dynamic bodies
worldEntity- Entity used to obtain world in which entities exist