b2World_SetContactTuning

Function b2World_SetContactTuning 

Source
pub unsafe extern "C" fn b2World_SetContactTuning(
    worldId: b2WorldId,
    hertz: f32,
    dampingRatio: f32,
    pushSpeed: f32,
)
Expand description

Adjust contact tuning parameters @param worldId The world id @param hertz The contact stiffness (cycles per second) @param dampingRatio The contact bounciness with 1 being critical damping (non-dimensional) @param pushSpeed The maximum contact constraint push out speed (meters per second) @note Advanced feature