class PrismaticJoint
Defined in:
The C4Joints.h
PrismaticJoint
class represents a prismatic joint node in a world.
Definition
class PrismaticJoint final : public CylindricalJoint
Constructor
PrismaticJoint();
Description
The PrismaticJoint
class represents a prismatic joint node in a world. A prismatic joint has one translational degree of freedom and behaves like a non-rotating piston.When a prismatic joint is used to connect a rigid body to static geometry, it allows only translation along the joint's z axis.
When a prismatic 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 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
CylindricalJoint |
A prismatic joint is a specific type of cylindrical joint. |
See Also