#include <Craft.h>
Public Member Functions | |
Craft () | |
bool | move (Ogre::Real _time) |
Perform movement calculations. Generally overridden in inherited classes. | |
bool | makePhysical () |
void | projectDecal () |
Ogre::Real | getThrustForward () |
Ogre::Real | getThrustBackward () |
Ogre::Real | getTurnForce () |
Ogre::Real | getEngineThrustForward () |
Ogre::Real | getEngineThrustBackward () |
Ogre::Real | getEngineTurnForce () |
Ogre::Real | getFalseFriction () |
void | setThrustForward (Ogre::Real &_val) |
void | setThrustBackward (Ogre::Real &_val) |
void | setTurnForce (Ogre::Real &_val) |
void | setEngineThrustForward (Ogre::Real &_val) |
void | setEngineThrustBackward (Ogre::Real &_val) |
void | setEngineTurnForce (Ogre::Real &_val) |
void | setFalseFriction (Ogre::Real &_val) |
void | tryResetPosition () |
Reset the craft's position. Well, bung it up in the air a bit and see if that unsticks it. | |
Protected Attributes | |
Ogre::Real | m_thrustForward |
Ogre::Real | m_thrustBackward |
Ogre::Real | m_turnForce |
Ogre::Real | m_engineThrustForward |
Ogre::Real | m_engineThrustBackward |
Ogre::Real | m_engineTurnForce |
Ogre::Real | m_turnCompensation |
Ogre::Real | m_falseFriction |
Ogre::Real | m_thrustForwardDefault |
Ogre::Real | m_thrustBackwardDefault |
Ogre::Real | m_turnForceDefault |
Ogre::Real | m_engineThrustForwardDefault |
Ogre::Real | m_engineThrustBackwardDefault |
Ogre::Real | m_engineTurnForceDefault |
Ogre::Real | m_falseFrictionDefault |
Ogre::Vector3 | m_turnForcePosition |
Ogre::Real | m_selfRightRate |
Ogre::Real | m_heightDesired |
Ogre::Real | m_heightCurrent |
Ogre::Real | m_heightLast |
Ogre::Real | m_heightSpring |
Ogre::Real | m_heightDamp |
Ogre::Real | m_heightLoseContact |
Ogre::ManualObject * | m_rayCast |
Ogre::Frustum * | m_trackProjectFrustum |
Ogre::Frustum * | m_wallProjectFrustum |
Ogre::SceneNode * | m_trackProjectNode |
Ogre::SceneNode * | m_wallProjectNode |
std::string | m_trackDecalName |
std::string | m_wallDecalName |
std::string | m_trackMaterialName |
std::string | m_wallMaterialName |
Ogre::ColourValue | m_trackDecalColour |
Ogre::ColourValue | m_wallDecalColour |
TrackPhysicalObject * | m_currentTrackSection |
Ogre::Vector3 | m_trackRelativeUp |
btGeneric6DofConstraint * | m_constraintUpright |
btRaycastVehicle::btVehicleTuning | m_vehicleTuning |
btVehicleRaycaster * | m_vehicleRayCaster |
btRaycastVehicle * | m_vehicle |
btCollisionShape * | m_wheelCollisionShape |
OgreBulletDynamics::RigidBody * | m_balancer |
Definition at line 29 of file Craft.h.
bool Craft::makePhysical | ( | ) | [virtual] |
Reimplemented from GameObject.
bool Craft::move | ( | Ogre::Real | _time | ) | [virtual] |
Perform movement calculations. Generally overridden in inherited classes.
Reimplemented from GameObject.
void Craft::tryResetPosition | ( | ) | [virtual] |
Reset the craft's position. Well, bung it up in the air a bit and see if that unsticks it.
Reimplemented from SelectableObject.
OgreBulletDynamics::RigidBody* Craft::m_balancer [protected] |
btGeneric6DofConstraint* Craft::m_constraintUpright [protected] |
TrackPhysicalObject* Craft::m_currentTrackSection [protected] |
Ogre::Real Craft::m_engineThrustBackward [protected] |
Ogre::Real Craft::m_engineThrustBackwardDefault [protected] |
Ogre::Real Craft::m_engineThrustForward [protected] |
Ogre::Real Craft::m_engineThrustForwardDefault [protected] |
Ogre::Real Craft::m_engineTurnForce [protected] |
Ogre::Real Craft::m_engineTurnForceDefault [protected] |
Ogre::Real Craft::m_falseFriction [protected] |
Ogre::Real Craft::m_falseFrictionDefault [protected] |
Ogre::Real Craft::m_heightCurrent [protected] |
Ogre::Real Craft::m_heightDamp [protected] |
Ogre::Real Craft::m_heightDesired [protected] |
Ogre::Real Craft::m_heightLast [protected] |
Ogre::Real Craft::m_heightLoseContact [protected] |
Ogre::Real Craft::m_heightSpring [protected] |
Ogre::ManualObject* Craft::m_rayCast [protected] |
Ogre::Real Craft::m_selfRightRate [protected] |
Ogre::Real Craft::m_thrustBackward [protected] |
Ogre::Real Craft::m_thrustBackwardDefault [protected] |
Ogre::Real Craft::m_thrustForward [protected] |
Ogre::Real Craft::m_thrustForwardDefault [protected] |
Ogre::ColourValue Craft::m_trackDecalColour [protected] |
std::string Craft::m_trackDecalName [protected] |
std::string Craft::m_trackMaterialName [protected] |
Ogre::Frustum* Craft::m_trackProjectFrustum [protected] |
Ogre::SceneNode* Craft::m_trackProjectNode [protected] |
Ogre::Vector3 Craft::m_trackRelativeUp [protected] |
Ogre::Real Craft::m_turnCompensation [protected] |
Ogre::Real Craft::m_turnForce [protected] |
Ogre::Real Craft::m_turnForceDefault [protected] |
Ogre::Vector3 Craft::m_turnForcePosition [protected] |
btRaycastVehicle* Craft::m_vehicle [protected] |
btVehicleRaycaster* Craft::m_vehicleRayCaster [protected] |
btRaycastVehicle::btVehicleTuning Craft::m_vehicleTuning [protected] |
Ogre::ColourValue Craft::m_wallDecalColour [protected] |
std::string Craft::m_wallDecalName [protected] |
std::string Craft::m_wallMaterialName [protected] |
Ogre::Frustum* Craft::m_wallProjectFrustum [protected] |
Ogre::SceneNode* Craft::m_wallProjectNode [protected] |
btCollisionShape* Craft::m_wheelCollisionShape [protected] |