41void SVehicleContraint::UpdateJoint()
60void SVehicleContraint::AddTire(
SNode* node, Ogre::Real mass, Ogre::Real radius, Ogre::Real width, Ogre::Real friction, Ogre::Real susLength, Ogre::Real susSpring, Ogre::Real susShock,
bool steer,
bool driving)
base class for all joints.
Represents a wheeled vehicle.
void waitForUpdateToFinish() const
OgreNewt::Body * getOgreNewtBodyPointer()
Ogre::SceneNode * GetOgreSceneNodePointer()
OgreNewt::World * GetPhysicWorld()
SPhysicWorld * GetPhysicsWorld()
void AddTire(SNode *node, Ogre::Real mass, Ogre::Real radius, Ogre::Real width, Ogre::Real friction, Ogre::Real susLength, Ogre::Real susSpring, Ogre::Real susShock, bool steer, bool driving)
Ogre::Real GetTireAngularVelocity(SNode *node)
virtual void SetParentBody(SBody *body)
void SetSteerAngle(Ogre::Radian angle)
void SetDrivingTorque(Ogre::Radian torque)
bool GetTireOnAir(SNode *node)
virtual void SetSonBody(SBody *body)
void SetBrake(Ogre::Real brake)
Manage Physics Contraint. .