Merge pull request #36236 from Janglee123/vehicle-random-force-fix

Fixing Vehicle-Wheels getting a random engine_force at start
This commit is contained in:
Rémi Verschelde 2020-03-02 16:50:10 +01:00 committed by GitHub
commit 416cd715a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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