pub unsafe extern "C" fn PxMaterial_setDamping_mut(
    self_: *mut PxMaterial,
    damping: f32
)
Expand description

Sets the coefficient of damping

This property only affects the simulation if PxMaterialFlag::eCOMPLIANT_CONTACT is raised. Damping works together with spring stiffness (set through a negative restitution value). Spring stiffness corrects positional error while damping resists relative velocity. Setting a high damping coefficient can produce spongy contacts.

Sleeping: Does NOT wake any actors which may be affected.