#include "MePrecision.h"
#include "MdtTypes.h"
Functions | |
| MdtHingeID | MdtHingeCreate (const MdtWorldID w, const MdtBodyID b1, const MdtBodyID b2) |
| Creates a new hinge with default parameters. More... | |
| void | MdtHingeReset (const MdtHingeID j) |
| Sets a hinge to its default values. More... | |
| void | MdtHingeDestroy (const MdtHingeID j) |
| Destroys a hinge. More... | |
| void | MdtHingeLog (const MdtHingeID j) |
| Debug function - output constraint using MeMessage. More... | |
| MdtConstraintID | MdtHingeQuaConstraint (const MdtHingeID j) |
| Gets an MdtConstraintID from a specific constraint for performing functions common to all constraints. More... | |
| void | MdtHingeGetPosition (const MdtHingeID j, MeVector3 v) |
| The Hinge joint's position vector is returned in v. More... | |
| void | MdtHingeGetAxis (const MdtHingeID j, MeVector3 v) |
| The Hinge joint's axis is returned in v. More... | |
| MdtLimitID | MdtHingeGetLimit (const MdtHingeID j) |
| Provides read/write access to the constraint limit. More... | |
| void | MdtHingeSetPosition (const MdtHingeID j, const MeReal x, const MeReal y, const MeReal z) |
| Sets the joint position in world coordinates. More... | |
| void | MdtHingeSetAxis (const MdtHingeID j, const MeReal x, const MeReal y, const MeReal z) |
| Sets the Hinge axis. More... | |
| void | MdtHingeSetLimit (const MdtHingeID j, const MdtLimitID NewLimit) |
| Resets the joint limit and then copies the public attributes of NewLimit. More... | |
|
Initializer:
|
Initializer:
|
Initializer:
\
MdtConstraintGetBody(MdtHingeQuaConstraint(j), bodyindex)
|
Initializer:
\
MdtConstraintGetForce(MdtHingeQuaConstraint(j), bodyindex, f)
|
Initializer:
\
MdtConstraintGetTorque(MdtHingeQuaConstraint(j), bodyindex, t)
|
Initializer:
|
Initializer:
|
Initializer:
|
Initializer:
\
MdtConstraintSetBodies(MdtHingeQuaConstraint(j), b1, b2)
|
Initializer:
|
|
Destroys a hinge.
|
The Hinge joint's axis is returned in v.
|
Provides read/write access to the constraint limit.
|
The Hinge joint's position vector is returned in v.
|
Debug function - output constraint using MeMessage.
|
Gets an MdtConstraintID from a specific constraint for performing functions common to all constraints.
|
Sets a hinge to its default values.
Note that the joint's bodies are not reset.
Default values:
| j | hinge joint ID |
|
Sets the Hinge axis.
|
Resets the joint limit and then copies the public attributes of NewLimit.
|
Sets the joint position in world coordinates.
Copyright MathEngine PLC 2000, all rights reserved.