- Home /
drift car using rigidbody
I want to create drift style for my car like Asphalt 8 or Mario Kart 8, but I don't know how to do it. I want to control it by rigidbody.AddForce or rigidbody.velocity. Could anyone share any functions or scripts about it?
I am using Unity 5.1
Answer by RPD7 · Aug 10, 2016 at 01:00 AM
Well use the Rigidbody.AddRelativeForce on z axis using Input.GetAxis("Vertical") to accelerate the cube and Rigidbody.AddRelativeTorque to rotate and control the drag and angular drag of cube, to cube dont roll use spheres as wheels and the cube as a car, but the fall isn't realistic.
Your answer
Follow this Question
Related Questions
how to rotate car to camera direction using wheel colliders. 1 Answer
Destroyed car styled need for speed? 0 Answers
simple drift car movement 0 Answers
Engine animation curve 1 Answer
Tilting car on two wheels 1 Answer