Browse Source

Fixed random force on vehicle wheel

janglee 5 years ago
parent
commit
5948530332
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/3d/vehicle_body.cpp

+ 1 - 1
scene/3d/vehicle_body.cpp

@@ -366,7 +366,7 @@ VehicleWheel::VehicleWheel() {
 	engine_traction = false;
 
 	m_steering = real_t(0.);
-	//m_engineForce = real_t(0.);
+	m_engineForce = real_t(0.);
 	m_rotation = real_t(0.);
 	m_deltaRotation = real_t(0.);
 	m_brake = real_t(0.);