SphericalJointclass represents a spherical joint node in a world.
class SphericalJoint : public Joint
SphericalJointclass represents a spherical joint node in a world. A spherical joint has three rotational degrees of freedom.
When a spherical joint is used to connect a rigid body to static geometry, it allows rotation about any axis, but maintains a constant distance between the rigid body and the joint position.
When a spherical joint is used to connect two rigid bodies, the original joint position is saved in node-space coordinates for both rigid bodies. The rigid bodies are allowed to rotate about any axis, but the two saved joint positions are required to coincide in world-space, maintaining the original distances between the rigid bodies and the original joint position.
||A spherical joint is a specific type of joint.|