Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkGearJoint

Class : Inherits from ChipmunkConstraint

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


Variables


phaseThe initial angular difference of the bodies' rotations in degrees.
ratioThe gear ratio.


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.