Manual:

Tutorials:

API:

ChipmunkRatchetJoint

Class : Inherits from ChipmunkConstraint

Constrains the angles of two bodies like a ratcheting socket wrench.


Variables


angleThe current angle of the ratchet mechanism in degrees.
phaseThe phase offset where the ratchet engages at in degrees.
ratchetThe angle between "clicks" of the ratchet in degrees.


Inherited Variables


bodyBThe other body that the constraint attaches to.
maxForceMaximum force the constraint is allowed to use.
errorBiasRate that error (stretching of the constraint) is fixed.
maxForceMaximum rate that constraint error is fixed.