Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-18 19:13:58 +0000
committerStijn Buys <ingar@osirion.org>2010-10-18 19:13:58 +0000
commit4c5b00221c9405c5af06143974fbc6296ebe46b5 (patch)
tree3bbe7fbc47f6238a086260c56964d2d654cf6124 /src/core/zone.h
parent85e3fd447aa3f45ba1dfe063b29a3e13f3416f11 (diff)
local vstrafe support, initial ship collision, g_damping factor
Diffstat (limited to 'src/core/zone.h')
-rw-r--r--src/core/zone.h6
1 files changed, 6 insertions, 0 deletions
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;
};
}