summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/3d/vehicle_body_3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/vehicle_body_3d.cpp b/scene/3d/vehicle_body_3d.cpp
index ec8a300653..0c51c4effd 100644
--- a/scene/3d/vehicle_body_3d.cpp
+++ b/scene/3d/vehicle_body_3d.cpp
@@ -366,6 +366,7 @@ VehicleWheel3D::VehicleWheel3D() {
m_suspensionRelativeVelocity = 0;
m_clippedInvContactDotSuspension = 1.0;
m_raycastInfo.m_isInContact = false;
+ m_raycastInfo.m_suspensionLength = 0.0;
body = nullptr;
}