C4 Engine
C4 Engine API Documentation

class JointObject

Defined in:  C4Joints.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);

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 Spherical joint.
kJointUniversal Universal joint.
kJointDiscal Discal joint.
kJointRevolute Revolute joint.
kJointCylindrical Cylindrical joint.
kJointPrismatic Prismatic joint.
Base Classes
Object A JointObject is an object that can be shared by multiple joint nodes.
See Also

Joint

RigidBodyController