enabled the vehicle demo again (still needs lots of tuning before it drives well)

fixed some warnings
This commit is contained in:
ejcoumans
2006-10-29 03:36:16 +00:00
parent caca3a1ca2
commit d6c6cbaee6
16 changed files with 179 additions and 125 deletions

View File

@@ -15,6 +15,10 @@ subject to the following restrictions:
#ifndef VEHICLE_DEMO_H
#define VEHICLE_DEMO_H
class btVehicleTuning;
struct btVehicleRaycaster;
#include "BulletDynamics/Vehicle/btRaycastVehicle.h"
#include "DemoApplication.h"
///VehicleDemo shows how to setup and use the built-in raycast vehicle
@@ -22,8 +26,12 @@ class VehicleDemo : public DemoApplication
{
public:
CcdPhysicsController* m_carChassis;
btRigidBody* m_carChassis;
btRaycastVehicle::btVehicleTuning m_tuning;
btVehicleRaycaster* m_vehicleRayCaster;
btRaycastVehicle* m_vehicle;
float m_cameraHeight;
float m_minCameraDistance;