Skip to main content

b3Body_SetGravityScale

Function b3Body_SetGravityScale 

Source
pub unsafe extern "C" fn b3Body_SetGravityScale(
    bodyId: b3BodyId,
    gravityScale: f32,
)
Expand description

Adjust the gravity scale. Normally this is set in b3BodyDef before creation. @see b3BodyDef::gravityScale