| 
    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   | |
Detailed Description
Definition at line 22 of file OgreNewt_RayCastVehicle.h.
Constructor & Destructor Documentation
◆ RaycastVehicle()
| OgreNewt::RaycastVehicle::RaycastVehicle | ( | const dMatrix | carMatrix, | 
| OgreNewt::Body * | carBody | ||
| ) | 
constructor
Definition at line 100 of file OgreNewt_RayCastVehicle.cpp.
◆ ~RaycastVehicle()
      
  | 
  virtual | 
destructor
Definition at line 106 of file OgreNewt_RayCastVehicle.cpp.
Member Function Documentation
◆ addTire()
| 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.
◆ ApplyBrake()
| void OgreNewt::RaycastVehicle::ApplyBrake | ( | dFloat | brakeTorque | ) | 
Definition at line 150 of file OgreNewt_RayCastVehicle.cpp.
◆ ApplySteering()
| void OgreNewt::RaycastVehicle::ApplySteering | ( | dFloat | angle | ) | 
Definition at line 140 of file OgreNewt_RayCastVehicle.cpp.
◆ ApplyTorque()
| void OgreNewt::RaycastVehicle::ApplyTorque | ( | dFloat | torque | ) | 
Definition at line 130 of file OgreNewt_RayCastVehicle.cpp.
◆ getCarBody()
| OgreNewt::Body * OgreNewt::RaycastVehicle::getCarBody | ( | ) | 
Definition at line 119 of file OgreNewt_RayCastVehicle.cpp.
◆ getTire()
| RaycastVehicle::Tire * OgreNewt::RaycastVehicle::getTire | ( | unsigned int | index | ) | 
Definition at line 198 of file OgreNewt_RayCastVehicle.cpp.
◆ getTireAngularVelocity()
| Ogre::Real OgreNewt::RaycastVehicle::getTireAngularVelocity | ( | unsigned int | index | ) | 
Definition at line 235 of file OgreNewt_RayCastVehicle.cpp.
◆ getTireIndexByNode()
| int OgreNewt::RaycastVehicle::getTireIndexByNode | ( | Ogre::Node * | node | ) | 
Definition at line 248 of file OgreNewt_RayCastVehicle.cpp.
◆ getTireMatrix()
| void OgreNewt::RaycastVehicle::getTireMatrix | ( | unsigned int | index, | 
| dMatrix & | outMatrix | ||
| ) | 
Definition at line 124 of file OgreNewt_RayCastVehicle.cpp.
◆ getTireOnAir()
| bool OgreNewt::RaycastVehicle::getTireOnAir | ( | unsigned int | index | ) | 
Definition at line 224 of file OgreNewt_RayCastVehicle.cpp.
◆ showDebugData()
| void OgreNewt::RaycastVehicle::showDebugData | ( | Ogre::SceneNode * | debugRootNode | ) | 
show joint visual debugging data
implement its own version of visual debugging
- Parameters
 - 
  
debugRootNode root node for all debug display data  
Definition at line 215 of file OgreNewt_RayCastVehicle.cpp.
The documentation for this class was generated from the following files:
- include/External/ogrenewt/OgreNewt_RayCastVehicle.h
 - src/External/ogrenewt/OgreNewt_RayCastVehicle.cpp
 
Generated by