DynFactJointDefinition Class Reference
A definition for a joint. More...
#include <propclass/dynworld.h>
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 111 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 191 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 197 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 179 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 155 of file dynworld.h.
| void DynFactJointDefinition::SetRotConstraints | ( | bool | x, | |
| bool | y, | |||
| bool | z | |||
| ) | [inline] |
Set rotational constraints.
Definition at line 166 of file dynworld.h.
| void DynFactJointDefinition::SetTransConstraints | ( | bool | x, | |
| bool | y, | |||
| bool | z | |||
| ) | [inline] |
Set translation constraints.
Definition at line 142 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 136 of file dynworld.h.
The documentation for this class was generated from the following file:
- propclass/dynworld.h
Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1
