I have been trying on and off to achieve this for years and what really bothered me was at slow speeds (reversing into a parking space), my vehicle would move laterally to the wheel direction. I could never solve that issue without hacking it which really annoyed me. Last time I tried was during covid. I picked up "The Multibody Systems Approach to Vehicle Dynamics - 2004" for 99p in a local charity shop. Far, far too advanced for me but I did manage to simplify it with google and some questions on stack to get nice handling. Alas that slow speed lateral motion, just knowing it was there made me shelf it again.
I am determined not to use a LLM or even this article to solve it at some point in my life.
Thanks for sharing.
That's an interesting problem, and I can't immediately see why you would keep getting a side-effect like that.
Good luck with figuring it out!
I made a parking simulator a long time ago. To make it realistic, you have to take into account that each wheel turns at a different angle. Both turning wheels need to turn at an angle that meets in the same point of a line that comes out of the back wheels. And, at low speed and acceleration, there is no drifting. To determine how the car moves, since all the wheels point to the same intersection point, just do angular movement of the car pivoting on that point, making angle * radious of the center of the drive wheels match the speed of the car. Wheel differential compensates for choosing the center of the wheels.