diff --git a/scene/3d/vehicle_body.cpp b/scene/3d/vehicle_body.cpp index 572c776c7fa..75cd0f5a92f 100644 --- a/scene/3d/vehicle_body.cpp +++ b/scene/3d/vehicle_body.cpp @@ -389,6 +389,7 @@ VehicleWheel::VehicleWheel() { m_suspensionRelativeVelocity = 0; m_clippedInvContactDotSuspension = 1.0; m_raycastInfo.m_isInContact = false; + m_raycastInfo.m_suspensionLength = 0.0; body = NULL; }