b2Body_SetType

Function b2Body_SetType 

Source
pub unsafe extern "C" fn b2Body_SetType(
    bodyId: b2BodyId,
    type_: b2BodyType,
)
Expand description

Change the body type. This is an expensive operation. This automatically updates the mass properties regardless of the automatic mass setting.