Manual:

Tutorials:

API:

ChipmunkGearJoint

Class : Inherits from ChipmunkConstraint

Forces one body to rotate at a specific ratio of another.


Variables


phaseThe initial phase offset of the bodies' rotations in degrees.
ratioThe gear ratio.


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.