summaryrefslogtreecommitdiff
path: root/scene/3d/vehicle_body_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/vehicle_body_3d.h')
-rw-r--r--scene/3d/vehicle_body_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/vehicle_body_3d.h b/scene/3d/vehicle_body_3d.h
index 2f3a37af2a..5c4f4beaea 100644
--- a/scene/3d/vehicle_body_3d.h
+++ b/scene/3d/vehicle_body_3d.h
@@ -152,8 +152,8 @@ public:
VehicleWheel3D();
};
-class VehicleBody3D : public RigidDynamicBody3D {
- GDCLASS(VehicleBody3D, RigidDynamicBody3D);
+class VehicleBody3D : public RigidBody3D {
+ GDCLASS(VehicleBody3D, RigidBody3D);
real_t engine_force = 0.0;
real_t brake = 0.0;