Skip to main content

world_set_friction_callback

Function world_set_friction_callback 

Source
pub fn world_set_friction_callback(
    world: &mut World,
    callback: Option<FrictionCallback>,
)
Expand description

Register the friction callback. This is optional. Passing None restores the default mixing rule. (b2World_SetFrictionCallback)