b2Body_ClearForces

Function b2Body_ClearForces 

Source
pub unsafe extern "C" fn b2Body_ClearForces(bodyId: b2BodyId)
Expand description

Clear the force and torque on this body. Forces and torques are automatically cleared after each world step. So this only needs to be called if the application wants to remove the effect of previous calls to apply forces and torques before the world step is called. @param bodyId The body id