RevoluteJointclass represents a revolute joint node in a world.
class RevoluteJoint final : public DiscalJoint
RevoluteJointclass represents a revolute joint node in a world. A revolute joint has one rotational degree of freedom and behaves like a hinge.
When a revolute joint is used to connect a rigid body to static geometry, it allows rotation about the joint's z axis and maintains a constant distance between the rigid body and the joint position.
When a revolute joint is used to connect two rigid bodies, the original joint position and z axis direction are saved in node-space coordinates for both rigid bodies. The rigid bodies are allowed to rotate about the z axis, and the two saved joint positions and two saved z axis directions are required to coincide in world-space, maintaining the original distances and orientation between the rigid bodies and the original joint configuration.
||A revolute joint is a specific type of discal joint.|