Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkPinJoint

Class : Inherits from ChipmunkConstraint

Distance constraint that holds a point on two bodies a specified distance apart.

Think of it as connecting the anchor points of two bodies using a weightless pin or rod. The length of the constraint is calculated on initialization and when anchor points are modified.


Variables


anchr1The location of the anchor point on the parent body.
anchr2The location of the anchor point on ChipmunkConstraint.bodyB.


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.