Function physx_sys::PxRigidBody_setMaxContactImpulse_mut
source · pub unsafe extern "C" fn PxRigidBody_setMaxContactImpulse_mut(
self_: *mut PxRigidBody,
maxImpulse: f32
)
Expand description
Sets a limit on the impulse that may be applied at a contact. The maximum impulse at a contact between two dynamic or kinematic bodies will be the minimum of the two limit values. For a collision between a static and a dynamic body, the impulse is limited by the value for the dynamic body.