Skip to main content

b3Body_SetType

Function b3Body_SetType 

Source
pub unsafe extern "C" fn b3Body_SetType(
    bodyId: b3BodyId,
    type_: b3BodyType,
)
Expand description

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