b2Body_ApplyForceToCenter

Function b2Body_ApplyForceToCenter 

Source
pub unsafe extern "C" fn b2Body_ApplyForceToCenter(
    bodyId: b2BodyId,
    force: b2Vec2,
    wake: bool,
)
Expand description

Apply a force to the center of mass. This optionally wakes up the body. The force is ignored if the body is not awake. @param bodyId The body id @param force the world force vector, usually in newtons (N). @param wake also wake up the body