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?

  • \$\begingroup\$ This will generally depend on how you've set up the rest of your car's physics. Do you have a car control setup that's working for you so far, that you want to add skidding/spin-out behaviour into? If so, please edit your question to include details about how you've set this up so far, so we know what to build upon. \$\endgroup\$ – DMGregory Jul 25 '18 at 1:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.