Jump to content
  • Advertisement
Sign in to follow this  
Jens Lindberg

Slipping / drifting cars

This topic is 2159 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Soo, I have for some time, tried to come up with a solution for how to simulate drifting/slipping cars.


My simulation so far, consists of the basic vector based setup with forces for traction, friction, drag etc. Working pretty good.

But taking it to the next step, I want to simulate what happends when the car looses grip.



Two situations:


I. Going in a straight line. Accelerating more than what the tyre friction can handle.

- I think I've to go with angular velocity on the wheel, some friction constant of the tyres, another friction constant for the road surface. Also I think I need to check the "longitude" velocity of the car. So something [forward traction - longitude velocity > fritcion = wheel slip]



II. Car turning in high speed, looses grip.

Somehow I need to calculate lateral forces when turning, but basically I'm pretty stuck without any pointers. I don't know how much to consider here to make it work. 



I'm aiming more towards fun than exact simulation but if anyone have done anything like this before, how did you approach the problem? 

Pointers or pseudo code would be so appreciated.




It's such a fun project, so even if I'm a little bit over my head I'm loving every minute of it :-)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!