Function physx_sys::PxContactSet_setInvMassScale1_mut
source · pub unsafe extern "C" fn PxContactSet_setInvMassScale1_mut(
self_: *mut PxContactSet,
scale: f32
)
Expand description
Sets the invMassScale of body 1
This can be set to any value in the range [0, PX_MAX_F32). A value < 1.0 makes this contact treat the body as if it had larger mass. A value of 0.f makes this contact treat the body as if it had infinite mass. Any value > 1.f makes this contact treat the body as if it had smaller mass.