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.
OptionalaxisReference axis of the swing cone in world space, only meaningful with SphericalJointOptions.limits. Defaults to +Y, §7a's up.
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.
OptionallimitsSwing cone and optional twist (§28 "limits"), or free rotation when omitted.
How a SphericalJoint is constructed (§28).
"3d"only (plan P6-1).