Function physx_sys::PxContactSet_setInvInertiaScale1_mut
source · pub unsafe extern "C" fn PxContactSet_setInvInertiaScale1_mut(
self_: *mut PxContactSet,
scale: f32
)
Expand description
Sets the invInertiaScale 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 inertia. A value of 0.f makes this contact treat the body as if it had infinite inertia. Any value > 1.f makes this contact treat the body as if it had smaller inertia.