SO3Engine
|
#include <OgreNewt_RayCastVehicle.h>
Public Member Functions | |
RaycastVehicle (const dMatrix carMatrix, OgreNewt::Body *carBody) | |
constructor | |
virtual | ~RaycastVehicle () |
destructor | |
OgreNewt::Body * | getCarBody () |
void | ApplyTorque (dFloat torque) |
void | ApplySteering (dFloat angle) |
void | ApplyBrake (dFloat brakeTorque) |
void | getTireMatrix (unsigned int index, dMatrix &outMatrix) |
bool | getTireOnAir (unsigned int index) |
Ogre::Real | getTireAngularVelocity (unsigned int index) |
int | getTireIndexByNode (Ogre::Node *node) |
void | addTire (Ogre::Node *node, const Ogre::Real mass, const Ogre::Real radius, const Ogre::Real width, const Ogre::Real friction, const Ogre::Real susLength, const Ogre::Real susSpring, const Ogre::Real susShock, const bool steer, const bool driving) |
RaycastVehicle::Tire * | getTire (unsigned int index) |
void | showDebugData (Ogre::SceneNode *debugRootNode) |
show joint visual debugging data | |
Definition at line 22 of file OgreNewt_RayCastVehicle.h.
OgreNewt::RaycastVehicle::RaycastVehicle | ( | const dMatrix | carMatrix, |
OgreNewt::Body * | carBody | ||
) |
constructor
Definition at line 100 of file OgreNewt_RayCastVehicle.cpp.
|
virtual |
destructor
Definition at line 106 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::addTire | ( | Ogre::Node * | node, |
const Ogre::Real | mass, | ||
const Ogre::Real | radius, | ||
const Ogre::Real | width, | ||
const Ogre::Real | friction, | ||
const Ogre::Real | susLength, | ||
const Ogre::Real | susSpring, | ||
const Ogre::Real | susShock, | ||
const bool | steer, | ||
const bool | driving | ||
) |
Definition at line 159 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::ApplyBrake | ( | dFloat | brakeTorque | ) |
Definition at line 150 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::ApplySteering | ( | dFloat | angle | ) |
Definition at line 140 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::ApplyTorque | ( | dFloat | torque | ) |
Definition at line 130 of file OgreNewt_RayCastVehicle.cpp.
OgreNewt::Body * OgreNewt::RaycastVehicle::getCarBody | ( | ) |
Definition at line 119 of file OgreNewt_RayCastVehicle.cpp.
RaycastVehicle::Tire * OgreNewt::RaycastVehicle::getTire | ( | unsigned int | index | ) |
Definition at line 198 of file OgreNewt_RayCastVehicle.cpp.
Ogre::Real OgreNewt::RaycastVehicle::getTireAngularVelocity | ( | unsigned int | index | ) |
Definition at line 235 of file OgreNewt_RayCastVehicle.cpp.
int OgreNewt::RaycastVehicle::getTireIndexByNode | ( | Ogre::Node * | node | ) |
Definition at line 248 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::getTireMatrix | ( | unsigned int | index, |
dMatrix & | outMatrix | ||
) |
Definition at line 124 of file OgreNewt_RayCastVehicle.cpp.
bool OgreNewt::RaycastVehicle::getTireOnAir | ( | unsigned int | index | ) |
Definition at line 224 of file OgreNewt_RayCastVehicle.cpp.
void OgreNewt::RaycastVehicle::showDebugData | ( | Ogre::SceneNode * | debugRootNode | ) |
show joint visual debugging data
implement its own version of visual debugging
debugRootNode | root node for all debug display data |
Definition at line 215 of file OgreNewt_RayCastVehicle.cpp.