pub unsafe extern "C" fn b2Body_ApplyAngularImpulse(
bodyId: b2BodyId,
impulse: f32,
wake: bool,
)Expand description
Apply an angular impulse. The impulse is ignored if the body is not awake. This optionally wakes the body. @param bodyId The body id @param impulse the angular impulse, usually in units of kgmm/s @param wake also wake up the body @warning This should be used for one-shot impulses. If you need a steady torque, use a torque instead, which will work better with the sub-stepping solver.