b2Body_SetAwake

Function b2Body_SetAwake 

Source
pub unsafe extern "C" fn b2Body_SetAwake(
    bodyId: b2BodyId,
    awake: bool,
)
Expand description

Wake a body from sleep. This wakes the entire island the body is touching. @warning Putting a body to sleep will put the entire island of bodies touching this body to sleep, which can be expensive and possibly unintuitive.