OptionalanchorThe attachment point in world space (§28's anchor), used for both
bodies. Omitted means each body's own origin; overridden per body by
JointOptions.anchorA / JointOptions.anchorB.
OptionalanchorWorld-space attachment point on bodyA, overriding anchor.
OptionalanchorWorld-space attachment point on bodyB, overriding anchor.
First constrained body (§28's bodyA). Must differ from bodyB.
Second constrained body.
OptionalbreakBreak force in newtons (§28), or omitted for a joint that never breaks.
OptionalbreakBreak torque in newton-metres (§28). See JointOptions.breakForce.
OptionalcollisionWhether the two bodies still collide with each other (§28 "collision
enable/disable"). false by default.
OptionaldampingDamping in newton-seconds per metre. Must be >= 0; 0 by default.
Distance at which the spring is at rest, in metres. Must be >= 0.
Spring constant in newtons per metre. Must be > 0.
How a SpringJoint is constructed (§28 "spring", "damping").