UniversalJointclass represents a universal joint node in a world.
class UniversalJoint final : public SphericalJoint
UniversalJointclass represents a universal joint node in a world. A universal joint has two rotational degrees of freedom.
When a universal joint is used to connect a rigid body to static geometry, it allows rotation about the two non-radial axes and maintains a constant distance between the rigid body and the joint position.
When a universal 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 the two non-radial axes, and 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 universal joint is a specific type of spherical joint.|