Function physx_sys::PxRackAndPinionJoint_setRatio_mut
source · pub unsafe extern "C" fn PxRackAndPinionJoint_setRatio_mut(
self_: *mut PxRackAndPinionJoint,
ratio: f32
)
Expand description
Set the desired ratio directly.
You may need to use a negative gear ratio if the joint frames of involved actors are not oriented in the same direction.
Calling this function resets the internal positional error correction term.