#include <PhysicsJointUniversal.h>
Inheritance diagram for vrsode::PhysicsJointUniversal:

Public Member Functions | |
| PhysicsJointUniversal (VRS::SO< PhysicsBody >, VRS::SO< PhysicsBody >, VRS::Vector, VRS::Vector, VRS::Vector) | |
| virtual | ~PhysicsJointUniversal () |
| void | setLowStop (double) |
| set the low stop. | |
| void | setHighStop (double) |
| set high stop value. | |
| void | setStopBounce (double) |
| set stop bounce. | |
| void | setMotorVelocity (double) |
| set motor velocity. | |
| void | setMotorMaxForce (double) |
| set the motors maximum force. | |
| void | setCFM (double) |
| set contraint force mixing value. | |
creates a new universal joint between two physics bodies, or one body and the static world. You have to provide two joint axis and one anchor (position).
Definition at line 22 of file PhysicsJointUniversal.h.
| vrsode::PhysicsJointUniversal::PhysicsJointUniversal | ( | VRS::SO< PhysicsBody > | , | |
| VRS::SO< PhysicsBody > | , | |||
| VRS::Vector | , | |||
| VRS::Vector | , | |||
| VRS::Vector | ||||
| ) |
Definition at line 9 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::bodyOne(), vrsode::PhysicsJoint::bodyTwo(), vrsode::PhysicsManager::get(), vrsode::PhysicsJoint::jointId(), and vrsode::PhysicsJoint::setJointId().
Here is the call graph for this function:

| vrsode::PhysicsJointUniversal::~PhysicsJointUniversal | ( | ) | [virtual] |
Definition at line 33 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setLowStop | ( | double | ) | [virtual] |
set the low stop.
this function sets the low stop of this join. you can see this as a additional movement constraint for the object connected. the parameter is given relative to the initial position of the joint connection.
sample with slider join: if you place one object at 0,0,0 and one at 0,10,0 set the slider vector to 0,1,0 a low stop value of -6 mean that one object can move 6 units in direction of the other object.
Implements vrsode::PhysicsJoint.
Definition at line 39 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setHighStop | ( | double | ) | [virtual] |
set high stop value.
see setLowStop for explaination.
Implements vrsode::PhysicsJoint.
Definition at line 45 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setStopBounce | ( | double | ) | [virtual] |
set stop bounce.
this sets the bouncyness of the given stops. this must be an value between 0 and 1.
Implements vrsode::PhysicsJoint.
Definition at line 63 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setMotorVelocity | ( | double | ) | [virtual] |
set motor velocity.
sets the desired motor velocity.
Implements vrsode::PhysicsJoint.
Definition at line 51 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setMotorMaxForce | ( | double | ) | [virtual] |
set the motors maximum force.
set the max force that is allowed to be applied to reach the desired motor velocity.
Implements vrsode::PhysicsJoint.
Definition at line 57 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

| void vrsode::PhysicsJointUniversal::setCFM | ( | double | ) | [virtual] |
set contraint force mixing value.
Implements vrsode::PhysicsJoint.
Definition at line 69 of file PhysicsJointUniversal.cpp.
References vrsode::PhysicsJoint::jointId().
Here is the call graph for this function:

1.5.1