C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

class DiscalJoint

Defined in:  C4Contacts.h
The DiscalJoint class represents a discal joint node in a world.
Definition

class DiscalJoint : public Joint

Constructor

DiscalJoint();

Description
The DiscalJoint class represents a discal joint node in a world. A discal joint has two rotational degrees of freedom.

When a discal joint is used to connect a rigid body to static geometry, it allows rotation about the joint's z axis and the radial axis while maintaining a constant distance between the rigid body and the joint position.

When a discal 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 radial 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.
Base Classes
Joint A discal joint is a specific type of joint.
See Also

DiscalJointObject