CEL

Public API Reference

DynFactJointDefinition Class Reference

A definition for a joint. More...

#include <propclass/dynworld.h>

List of all members.

Public Member Functions

void SetBounce (const csVector3 &bounce)
 Set the restitution of the joint's stop point.
void SetMaxForce (const csVector3 &maxforce)
 Set the maximum force that can be applied by the joint motor.
void SetMinMaxAngle (const csVector3 &min, const csVector3 &max)
 Set minimum and maximum allowed angle between the two bodies (radians).
void SetMinMaxDistance (const csVector3 &min, const csVector3 &max)
 Set minimum and maximum allowed distance between the two bodies.
void SetRotConstraints (bool x, bool y, bool z)
 Set rotational constraints.
void SetTransConstraints (bool x, bool y, bool z)
 Set translation constraints.
void SetTransform (const csOrthoTransform &trans)
 Set the local transformation of this joint relative to the object.

Detailed Description

A definition for a joint.

This is used on a dynamic factory. @@ Note: this class should not be needed if the physics library on the CS side supported the notion of 'factories'.

Definition at line 102 of file dynworld.h.


Member Function Documentation

void DynFactJointDefinition::SetBounce ( const csVector3 bounce  )  [inline]

Set the restitution of the joint's stop point.

This is the amount of bounciness when the joint hits a limit.

Definition at line 182 of file dynworld.h.

void DynFactJointDefinition::SetMaxForce ( const csVector3 maxforce  )  [inline]

Set the maximum force that can be applied by the joint motor.

Definition at line 188 of file dynworld.h.

void DynFactJointDefinition::SetMinMaxAngle ( const csVector3 min,
const csVector3 max 
) [inline]

Set minimum and maximum allowed angle between the two bodies (radians).

Definition at line 170 of file dynworld.h.

void DynFactJointDefinition::SetMinMaxDistance ( const csVector3 min,
const csVector3 max 
) [inline]

Set minimum and maximum allowed distance between the two bodies.

Definition at line 146 of file dynworld.h.

void DynFactJointDefinition::SetRotConstraints ( bool  x,
bool  y,
bool  z 
) [inline]

Set rotational constraints.

Definition at line 157 of file dynworld.h.

void DynFactJointDefinition::SetTransConstraints ( bool  x,
bool  y,
bool  z 
) [inline]

Set translation constraints.

Definition at line 133 of file dynworld.h.

void DynFactJointDefinition::SetTransform ( const csOrthoTransform trans  )  [inline]

Set the local transformation of this joint relative to the object.

Definition at line 127 of file dynworld.h.


The documentation for this class was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1