Damping of the spring. A number >= 0.
Anchor for bodyA in local bodyA coordinates. Where to hook the spring to body A, in local body coordinates.
Anchor for bodyB in local bodyB coordinates. Where to hook the spring to body B, in local body coordinates.
Rest length of the spring. A number > 0.
Stiffness of the spring. A number >= 0.
Where to hook the spring to body A, in world coordinates.
Where to hook the spring to body B, in world coordinates.
First connected body.
Second connected body.
Damping of the spring. A number >= 0.
Anchor for bodyA in local bodyA coordinates. Where to hook the spring to body A, in local body coordinates.
Anchor for bodyB in local bodyB coordinates. Where to hook the spring to body B, in local body coordinates.
Rest length of the spring. A number > 0.
Stiffness of the spring. A number >= 0.
Apply the spring force to the connected bodies.
Get the anchor point on body A, in world coordinates.
The vector to store the result in.
Get the anchor point on body B, in world coordinates.
The vector to store the result in.
Set the anchor point on body A, using world coordinates.
Set the anchor point on body B, using world coordinates.
A spring, connecting two bodies.