SO3Engine
|
OgreNewt_Vehicle.cpp
Go to the documentation of this file.
20 carCordenatSytem.m_front = dVector (0.0f, 0.0f, -1.0f, 0.0f); // Ogre front direction is is -z axis
21 carCordenatSytem.m_up = dVector (0.0f, 1.0f, 0.0f, 0.0f); // Ogre vertical direction is y up axis
38 void Vehicle::AddSingleSuspensionTire(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)
41 veh->addTire(node, mass, radius, width, friction, susLength, susSpring, susShock, steer, driving);
void ApplySteering(dFloat angle)
Definition OgreNewt_RayCastVehicle.cpp:140
void ApplyTorque(dFloat torque)
Definition OgreNewt_RayCastVehicle.cpp:130
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)
Definition OgreNewt_RayCastVehicle.cpp:159
Ogre::Real getTireAngularVelocity(unsigned int index)
Definition OgreNewt_RayCastVehicle.cpp:235
void ApplyBrake(dFloat brakeTorque)
Definition OgreNewt_RayCastVehicle.cpp:150
int getTireIndexByNode(Ogre::Node *node)
Definition OgreNewt_RayCastVehicle.cpp:248
bool getTireOnAir(unsigned int index)
Definition OgreNewt_RayCastVehicle.cpp:224
void showDebugData(Ogre::SceneNode *debugRootNode)
show joint visual debugging data
Definition OgreNewt_RayCastVehicle.cpp:215
OgreNewt::Body * getVehicleBody()
Definition OgreNewt_Vehicle.cpp:33
virtual void showDebugData(Ogre::SceneNode *debugRootNode)
show joint visual debugging data
Definition OgreNewt_Vehicle.cpp:84
void AddSingleSuspensionTire(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=false, const bool driving=false)
add and independent suspension tire to the car body
Definition OgreNewt_Vehicle.cpp:38
bool getTireOnAir(Ogre::Node *node)
Definition OgreNewt_Vehicle.cpp:90
void setDrivingTorque(Ogre::Radian torque)
Definition OgreNewt_Vehicle.cpp:65
void setSteerAngle(Ogre::Radian angle)
Definition OgreNewt_Vehicle.cpp:59
Ogre::Real getTireAngularVelocity(Ogre::Node *node)
Definition OgreNewt_Vehicle.cpp:100
Generated by 1.9.8