summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/vehicle_body.cpp2
-rw-r--r--scene/3d/vehicle_body.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/vehicle_body.cpp b/scene/3d/vehicle_body.cpp
index 6eadc71d63..e35ba11e84 100644
--- a/scene/3d/vehicle_body.cpp
+++ b/scene/3d/vehicle_body.cpp
@@ -992,7 +992,7 @@ float VehicleBody::get_steering() const{
Vector3 VehicleBody::get_linear_velocity()
{
- return linear_velocity;
+ return linear_velocity;
}
void VehicleBody::_bind_methods(){
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();