pub unsafe extern "C" fn PxRigidDynamic_setSleepThreshold_mut(
    self_: *mut PxRigidDynamic,
    threshold: f32
)
Expand description

Sets the mass-normalized kinetic energy threshold below which an actor may go to sleep.

Actors whose kinetic energy divided by their mass is below this threshold will be candidates for sleeping.

Default: 5e-5f * PxTolerancesScale::speed * PxTolerancesScale::speed