ChipmunkDampedSpring
Works like a regular compression spring + damper.
Variables
anchr1 | Anchor point on the first body in local transform coordinates where the spring is attached. |
anchr2 | Anchor point on the second body in local transform coordinates where the spring is attached. |
restLength | Length of the spring where it's at equilibrium. |
stiffness | Stiffness of the spring. |
damping | Amount of linear damping applied by the spring. |
Inherited Variables
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. |