Manual:

Tutorials:

API:

ChipmunkDampedRotarySpring

Class : Inherits from ChipmunkConstraint

Works like a torsion spring + damper.


Variables


restAngleRelative angle between the bodies in degrees where the spring is at equilibrium.
stiffnessStiffness of the spring.
dampingAmount of angular damping applied.


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.