summaryrefslogtreecommitdiff
path: root/BulletDynamics/Vehicle/RaycastVehicle.h
diff options
context:
space:
mode:
Diffstat (limited to 'BulletDynamics/Vehicle/RaycastVehicle.h')
-rw-r--r--BulletDynamics/Vehicle/RaycastVehicle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/BulletDynamics/Vehicle/RaycastVehicle.h b/BulletDynamics/Vehicle/RaycastVehicle.h
index 13993b87d..3410f03d7 100644
--- a/BulletDynamics/Vehicle/RaycastVehicle.h
+++ b/BulletDynamics/Vehicle/RaycastVehicle.h
@@ -143,6 +143,13 @@ public:
return m_indexForwardAxis;
}
+ virtual void SetCoordinateSystem(int rightIndex,int upIndex,int forwardIndex)
+ {
+ m_indexRightAxis = rightIndex;
+ m_indexUpAxis = upIndex;
+ m_indexForwardAxis = forwardIndex;
+ }
+
virtual void BuildJacobian()
{
//not yet