From 97da9f14abfbbfd8a27f12afef0cd7c46fa425a6 Mon Sep 17 00:00:00 2001 From: Agustin Benavidez Date: Sat, 21 May 2016 06:35:55 -0300 Subject: Add get_linear_velocity() method to VehicleBody class Doc added also. --- scene/3d/vehicle_body.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene/3d/vehicle_body.h') diff --git a/scene/3d/vehicle_body.h b/scene/3d/vehicle_body.h index 285cca142d..a026a10dff 100644 --- a/scene/3d/vehicle_body.h +++ b/scene/3d/vehicle_body.h @@ -177,7 +177,8 @@ public: void set_steering(float p_steering); float get_steering() const; - + + Vector3 get_linear_velocity(); VehicleBody(); }; -- cgit v1.2.3 From da24bc8f3fa5bb00deb7042b63794f4218dee774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 21 May 2016 11:52:21 +0200 Subject: VehicleBody: Cosmetic fixes to previous commit --- scene/3d/vehicle_body.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/vehicle_body.h') diff --git a/scene/3d/vehicle_body.h b/scene/3d/vehicle_body.h index a026a10dff..b6ad88f15e 100644 --- a/scene/3d/vehicle_body.h +++ b/scene/3d/vehicle_body.h @@ -177,7 +177,7 @@ public: void set_steering(float p_steering); float get_steering() const; - + Vector3 get_linear_velocity(); VehicleBody(); -- cgit v1.2.3