37 Tire(
RaycastVehicle* vehicle, Ogre::Node* node,
const bool steer,
const bool driving,
const int id);
41 bool isSteer(){
return m_steer;}
42 bool isDriving(){
return m_driving;}
45 const int getId()
const {
return m_tireId;}
47 const Ogre::Node* getNode()
const {
return m_node;}
52 void getTireMatrix(dMatrix &matrix);
54 void updateNodePosition();
56 void showDebug(Ogre::SceneNode* debugRootNode);
69 Ogre::SceneNode* m_node;
70 Ogre::ManualObject* m_visualDebug;
77 std::vector<Tire*> m_lTires;
100 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);
102 RaycastVehicle::Tire*
getTire(
unsigned int index);
main class for all Rigid Bodies in the system.
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)