PxDistanceJoint_setDamping_mut

Function PxDistanceJoint_setDamping_mut 

Source
pub unsafe extern "C" fn PxDistanceJoint_setDamping_mut(
    self_: *mut PxDistanceJoint,
    damping: f32,
)
Expand description

Set the damping of the joint spring.

The spring is used if enabled, and the distance exceeds the range [min-error, max+error].

Default 0.0f Range [0, PX_MAX_F32)