b2World_Step

Function b2World_Step 

Source
pub unsafe extern "C" fn b2World_Step(
    worldId: b2WorldId,
    timeStep: f32,
    subStepCount: c_int,
)
Expand description

Simulate a world for one time step. This performs collision detection, integration, and constraint solution. @param worldId The world to simulate @param timeStep The amount of time to simulate, this should be a fixed number. Usually 1/60. @param subStepCount The number of sub-steps, increasing the sub-step count can increase accuracy. Usually 4.