pub unsafe extern "C" fn PxD6Joint_setProjectionAngularTolerance_mut(
    self_: *mut PxD6Joint,
    tolerance: f32
)
Expand description

Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJECTION is set for the joint.

If the joint deviates by more than this angle around its locked angular degrees of freedom, the solver will move the bodies to close the angle.

Setting a very small tolerance may result in simulation jitter or other artifacts.

Sometimes it is not possible to project (for example when the joints form a cycle).

Range: [0,Pi] Default: Pi

Angular projection is implemented only for the case of two or three locked angular degrees of freedom.