C4 Engine
C4 Engine API Documentation

class DiscalJoint

Defined in:  C4Joints.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, it behaves as a spherical joint.
Base Classes
Joint A discal joint is a specific type of joint.
See Also

DiscalJointObject