class CylindricalJoint
Defined in:
The C4Joints.h
CylindricalJoint
class represents a cylindrical joint node in a world.
Definition
class CylindricalJoint : public DiscalJoint
Constructor
CylindricalJoint();
Description
The CylindricalJoint
class represents a cylindrical joint node in a world. A cylindrical joint has one translational degree of freedom and one rotational degree of freedom. It behaves like a piston that allows rotation about the translational axis.When a cylindrical joint is used to connect a rigid body to static geometry, it allows only translation along the joint's z axis and rotation about the joint's z axis.
When a cylindrical joint is used to connect two rigid bodies, the original z axis direction is saved in node-space coordinates for both rigid bodies. The rigid bodies are allowed to translate along the z axis and rotate about the z axis, and the two saved z axis directions are required to coincide in world-space, maintaining the original orientation between the rigid bodies and the original joint configuration.
Base Classes
DiscalJoint |
A cylindrical joint is a specific type of discal joint. |
See Also