Nicholas Farshidmehr пре 8 година
родитељ
комит
3a44a98ed2
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      Source/Urho3D/LuaScript/pkgs/Physics/RaycastVehicle.pkg

+ 4 - 1
Source/Urho3D/LuaScript/pkgs/Physics/RaycastVehicle.pkg

@@ -28,6 +28,7 @@ class RaycastVehicle : public LogicComponent
     void SetMaxSideSlipSpeed(float speed);
     void SetWheelSkidInfoCumulative(int wheel, float skid);
     void SetInAirRPM(float rpm);
+    void SetCoordinateSystem(const IntVector3& coordinateSystem = DEFAULT_COORDINATE_SYSTEM);
     void Init();
 
     Vector3 GetWheelPosition(int wheel);
@@ -56,5 +57,7 @@ class RaycastVehicle : public LogicComponent
     Vector3 GetContactPosition(int wheel) const;
     Vector3 GetContactNormal(int wheel) const;
     float GetInAirRPM() const;
-};
+    IntVector3 GetCoordinateSystem() const;
 
+    static const IntVector3 DEFAULT_COORDINATE_SYSTEM;
+};