ChipmunkDampedRotarySpring
Works like a torsion spring + damper.
Variables
restAngle | Relative angle between the bodies in degrees where the spring is at equilibrium. |
stiffness | Stiffness of the spring. |
damping | Amount of damping applied to the angular velocity. |
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. |