PanosK92 / SpartanEngine

A game engine with an emphasis on real-time cutting-edge solutions
https://panoskarabelas.com
MIT License
2.24k stars 189 forks source link

Fix the car handling #124

Open PanosK92 opened 1 year ago

PanosK92 commented 1 year ago

In the car simulation code, two factors that define handling are the slip ratio and slip angle, for each tire.

They are still not quite right, drive the car, and observe the erratic and wrong on-screen values.

The code lives here: https://github.com/PanosK92/SpartanEngine/blob/master/runtime/Physics/Car.cpp