b2DestroyBody

Function b2DestroyBody 

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

Destroy a rigid body given an id. This destroys all shapes and joints attached to the body. Do not keep references to the associated shapes and joints.