From 4c5b00221c9405c5af06143974fbc6296ebe46b5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 18 Oct 2010 19:13:58 +0000 Subject: local vstrafe support, initial ship collision, g_damping factor --- src/core/zone.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/zone.h') diff --git a/src/core/zone.h b/src/core/zone.h index f040939..d4b08bf 100644 --- a/src/core/zone.h +++ b/src/core/zone.h @@ -145,6 +145,11 @@ public: inline btDiscreteDynamicsWorld *physics() { return zone_bullet_world; } + + /// physics vehicle raycaster + inline btVehicleRaycaster *raycaster() { + return zone_bullet_raycaster; + } private: unsigned int zone_id; @@ -158,6 +163,7 @@ private: btAxisSweep3 *zone_bullet_cache; btDiscreteDynamicsWorld *zone_bullet_world; + btVehicleRaycaster *zone_bullet_raycaster; }; } -- cgit v1.2.3