• FEATURED

View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Slipping / drifting cars

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1Walex  Members

Posted 23 August 2013 - 01:35 AM

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 :-)

### #2DT....  Members

Posted 23 August 2013 - 02:34 AM

.

Edited by DonTzzy, 08 September 2013 - 11:57 PM.

### #3Walex  Members

Posted 23 August 2013 - 12:03 PM

Thanks man! Looks promising

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.