|
| HingeConstraint (RigidObject *a, RigidObject *b, const geom::Mat &frameInA, const geom::Mat &frameInB, int rotationAxis, const bool useLinearReferenceFrameA=true) |
| Creates the Hinge, with the specified frame along the rotationAxis(0 = x, 1 = y, 2 = z). More...
|
|
| HingeConstraint (RigidObject *a, RigidObject *b, const geom::Vec &pivotInA, const geom::Vec &pivotInB, int rotationAxis, const bool useLinearReferenceFrameA=true) |
|
| SliderConstraint (RigidObject *a, RigidObject *b, const geom::Mat &frameInA, const geom::Mat &frameInB, int rotationAxis, const bool useLinearReferenceFrameA=true) |
| Creates the Slider, with the specified frame along the rotationAxis(0 = x, 1 = y, 2 = z). More...
|
|
| SliderConstraint (RigidObject *a, RigidObject *b, const geom::Vec &pivotInA, const geom::Vec &pivotInB, int rotationAxis, const bool useLinearReferenceFrameA=true) |
| Creates the Slider, with the specified frame along the rotationAxis(0 = x, 1 = y, 2 = z). More...
|
|
void | setAngularLimits (float lower, float upper) |
|
void | setLinearLimits (float lower, float upper) |
|
| SixDOFConstraint (RigidObject *a, RigidObject *b, const geom::Mat &frameInA, const geom::Mat &frameInB, const bool useLinearReferenceFrameA=true) |
| The frames describe the position and orientation of the pivot in the objectspaces of the 2 objects. More...
|
|
| SixDOFConstraint (RigidObject *a, RigidObject *b, const geom::Vec &pivotInA, const geom::Vec &pivotInB, bool useLinearReferenceFrameA=true) |
|
| SixDOFConstraint (RigidObject *a, RigidObject *b, const bool useLinearReferenceFrameA=true) |
| This constructor uses the identity geom::Matrices as frames. More...
|
|
void | setFrames (const geom::Mat &frameA, const geom::Mat &frameB) |
| The frames describe the position and orientation of the constraint pivot in the objectspace of the 2 objects. More...
|
|
void | setPivot (const geom::Vec &pivotInA, const geom::Vec &pivotInB) |
|
void | setLinearLowerLimit (const geom::Vec &lower) |
|
void | setLinearUpperLimit (const geom::Vec &upper) |
|
geom::Vec | getLinearLowerLimit () |
| Return the lower linear limit. More...
|
|
geom::Vec | getLinearUpperLimit () |
| Return the upper linear limit. More...
|
|
float | getAngle (int index) |
|
void | setAngularLowerLimit (const geom::Vec &lower) |
|
void | setAngularUpperLimit (const geom::Vec &upper) |
|
geom::Vec | getAngularLowerLimit () |
| Return the lower angular limit. More...
|
|
geom::Vec | getAngularUpperLimit () |
| Return the upper angular limit. More...
|
|
void | setLinearMotor (int index, bool enableMotor, float targetVelocity, float maxMotorForce, bool force_activation=false) |
| Set the angular motor settings. More...
|
|
void | setAngularMotor (int index, bool enableMotor, float targetVelocity, float maxMotorForce, bool force_activation=false) |
| Set the linear motor settings. More...
|
|
| Constraint () |
| Base cosntructor. More...
|
|
virtual | ~Constraint () |
| Destructor. More...
|
|
btTypedConstraint * | getConstraint () |
| Getter for the internal constraint. More...
|
|
std::vector< RigidObject * > & | getObjects () |
| Getter for the objects involved in the constraint. More...
|
|
This constraint simulates a Hinge joint.