Function physx_sys::PxMaterial_setDynamicFriction_mut
source · pub unsafe extern "C" fn PxMaterial_setDynamicFriction_mut(
self_: *mut PxMaterial,
coef: f32
)
Expand description
Sets the coefficient of dynamic friction.
The coefficient of dynamic friction should be in [0, PX_MAX_F32). If set to greater than staticFriction, the effective value of staticFriction will be increased to match.
Sleeping: Does NOT wake any actors which may be affected.