28 class WheeledRigidBody;
30 class VehicleRayCaster;
64 bool CreateChassis(
Real restitution,
Real friction,
Real mass,
Real linear_dampening,
Real angular_dampening);
65 bool AddWheel(
bool engine,
bool steerable,
bool IsFrontWheel,
Real radius,
const Vector3 &ConnectionPoint,
const Vector3 &Direction =
Vector3(0, -1, 0),
const Vector3 &Axle =
Vector3(-1, 0, 0));
66 void KeyPressed(
bool left,
bool right,
bool down,
bool up);
67 void KeyReleased(
bool left,
bool right,
bool down,
bool up);
69 void Enabled(
bool value);
70 bool Create(
const Vector3 &position);
71 void OnMove(
bool parent);
72 void AttachCamera(
bool value);
74 void Report(
const std::string &message);
75 bool ReportError(
const std::string &message);
80 OgreBulletDynamics::VehicleTuning *
mTuning;
Real SuspensionRestLength
OgreBulletDynamics::VehicleTuning * mTuning
OgreBulletDynamics::WheeledRigidBody * mCarChassis
Real MaxSuspensionTravelCm
OgreBulletDynamics::RaycastVehicle * mVehicle
Real SuspensionCompression
std::vector< int > mWheelsSteerable
std::vector< int > mWheelsEngine
OgreBulletDynamics::VehicleRayCaster * mVehicleRayCaster
std::vector< MeshObject * > mWheels