pub unsafe extern "C" fn PxRackAndPinionJoint_setJoints_mut(
    self_: *mut PxRackAndPinionJoint,
    hinge: *const PxBase,
    prismatic: *const PxBase
) -> bool
Expand description

Set the hinge & prismatic joints connected by the rack & pinion joint.

The passed hinge joint can be either PxRevoluteJoint, PxD6Joint or PxArticulationJointReducedCoordinate. It cannot be null. The passed prismatic joint can be either PxPrismaticJoint or PxD6Joint. It cannot be null.

Note that these joints are only used to compute the positional error correction term, used to adjust potential drift between jointed actors. The rack & pinion joint can run without calling this function, but in that case some visible overlap may develop over time between the teeth of the rack & pinion meshes.

Calling this function resets the internal positional error correction term.

true if success