pub unsafe extern "C" fn PxGearJoint_setGearRatio_mut(
    self_: *mut PxGearJoint,
    ratio: f32
)
Expand description

Set the desired gear ratio.

For two gears with n0 and n1 teeth respectively, the gear ratio is n0/n1.

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.