b2World_SetRestitutionThreshold

Function b2World_SetRestitutionThreshold 

Source
pub unsafe extern "C" fn b2World_SetRestitutionThreshold(
    worldId: b2WorldId,
    value: f32,
)
Expand description

Adjust the restitution threshold. It is recommended not to make this value very small because it will prevent bodies from sleeping. Usually in meters per second. @see b2WorldDef