I would like to know how I can go about implementing car spinout in games. I heard that spinout is caused by loss of traction in the rear wheels of the car but I don't know how it relates to velocity and other factors. Does it depend on lateral velocity of the wheels? Preferably explain how to do it in Unity or 3D Rad.
Update: I found out that during braking, the car's weight shifts to the front, putting more traction on the front wheels than the rear wheels and this effect is greater with softer suspension. Accelerating has the opposite effect. So while cornering, the car's weight shifts to the front right or front left depending on direction it's turning due to lateral deceleration as an added factor. So I would add a code that adjusts the traction on each of the four wheels according to these principles. Is my theory right?