Facebook Twitter YouTube

class JointObject

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

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.

JointObject(JointType type);

type The type of the joint. See below for a list of possible types.
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