pub unsafe extern "C" fn PxRackAndPinionJoint_setData_mut(
    self_: *mut PxRackAndPinionJoint,
    nbRackTeeth: u32,
    nbPinionTeeth: u32,
    rackLength: f32
) -> bool
Expand description

Set the desired ratio indirectly.

This is a simple helper function that computes the ratio from passed data:

ratio = (PI2nbRackTeeth)/(rackLength*nbPinionTeeth)

Calling this function resets the internal positional error correction term.

true if success