diff options
Diffstat (limited to 'src/core/zone.h')
-rw-r--r-- | src/core/zone.h | 6 |
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; }; } |