C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

class JointObject

Defined in:  C4Contacts.h
The JointObject class encapsulates data pertaining to a physics joint.
Definition

class JointObject : public Object

Member Functions
JointObject::GetJointType Returns the specific type of a joint.
JointObject::GetJointFlags Returns the joint flags.
JointObject::SetJointFlags Sets the joint flags.
JointObject::GetBreakingForce Returns the breaking force for a joint.
JointObject::SetBreakingForce Sets the breaking force for a joint.
Constructor

JointObject(JointType type);

The constructor has protected access. The JointObject class can only exist as the base class for another class.
Parameters
type The type of the joint. See below for a list of possible types.
Description
The JointObject class encapsulates data describing a joint. A joint can be used to connect a rigid body to another rigid body or to static geometry, and the type of joint determines what kind of motion is allowed for the connected rigid bodies.

A joint object can be of one of the following types.
kJointSpherical A spherical joint.
kJointUniversal A universal joint.
kJointDiscal A discal joint.
kJointRevolute A revolute joint.
kJointCylindrical A cylindrical joint.
kJointPrismatic A prismatic joint.
Base Classes
Object A JointObject is an object that can be shared by multiple joint nodes.
See Also

Joint

RigidBodyController