Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

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 angular difference 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.
impulseThe magnitude of the impulse this constraint applied last frame.
maxForceMaximum force the constraint is allowed to use.
errorBiasRate that error (stretching of the constraint) is fixed.
maxBiasMaximum rate that constraint error is fixed.