Manual:

Tutorials:

API:

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 bodyB.


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.