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.
anchr1 | The location of the anchor point on the parent body. |
anchr2 | The location of the anchor point on ChipmunkConstraint.bodyB . |
bodyB | The other body that the constraint attaches to. |
impulse | The magnitude of the impulse this constraint applied last frame. |
maxForce | Maximum force the constraint is allowed to use. |
errorBias | Rate that error (stretching of the constraint) is fixed. |
maxBias | Maximum rate that constraint error is fixed. |