I’ve been searching for resources online and barely found anything on how to make a Drift mechanic like Mario Kart. I currently have a hover vehicle and most of the driving mechanics are working(acceleration, steering, etc.). I used this GDC talk as base https://m.youtube.com/watch?v=LG1CtlFRmpU.
I know I will need to apply forces based on the sliding direction, forward, right vectors etc. But I couldn’t figure out how to make the vehicle drift like Mario Kart with the key element being control during the drift. I would really appreciate any help as I am stumped at this point. Thanks.
I need damping for the hover suspension so it doesn’t wobble too much. it is by default pretty low already and setting it lower causes the vehicle to wobble too much.
To my understanding, the drifting is achieved by doing some calculations with the moving, forward and right vectors.
This is kind of what I want to achieve but don’t know how to implement it.
i’d need to know more about how you’ve built it, because usually when making a custom system like this, it would drift automatically and you’d have to apply opposing forces to stabilize
At the moment, separate from the suspension, for the movement, all I have is an Add force node applied to the mesh’s forward vector. For turning I am just adding a torque on the Z axis. It is very very basic barebones at the moment when it comes to movement.