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

sets the gear ratio for the drive.

When setting up the drive constraint, the velocity of the first actor is scaled by this value, and its response to drive torque is scaled down. So if the drive target velocity is zero, the second actor will be driven to the velocity of the first scaled by the gear ratio

Range: [0, PX_MAX_F32) Default: 1.0