HingeJoint Class Reference
[Hinge Joint]
#include <HingeJoint.hh>
Inheritance diagram for HingeJoint:

Detailed Description
A single axis hinge joint.Public Member Functions | |
| HingeJoint (dWorldID worldId) | |
| Constructor. | |
| virtual | ~HingeJoint () |
| Destructor. | |
| double | GetAngle () const |
| Get the angle of rotation. | |
| double | GetAngleRate () const |
| Get the rotation rate. | |
| virtual double | GetParam (int parameter) const |
| Get the specified parameter. | |
| virtual void | SetAnchor (const Vector3 &anchor) |
| Set the anchor point. | |
| void | SetAxis (const Vector3 &axis) |
| Set the axis of rotation. | |
| virtual Vector3 | GetAnchor () const |
| Get the anchor point. | |
| Vector3 | GetAxis () const |
| Get the axis of rotation. | |
| virtual void | SetParam (int parameter, double value) |
| Set the parameter to value. | |
| void | SetTorque (double torque) |
| Set the torque of a joint. | |
Protected Member Functions | |
| virtual void | LoadChild (XMLConfigNode *node) |
Member Function Documentation
| virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Load joint
Reimplemented from Joint.
The documentation for this class was generated from the following file: