Car movement in Unity

So recently I want to create cartoony racing game, so I don’t care about movement of my cars being realistic, but just cool and “handy”. Something like Mario Kart or Lego Racers. I found some basic car movement in asset store, try it a little couple days ago, find quite “inelegant”(but overall still better than my personal implementation) and then decide to work on something else.
But now I defintely need to improve my car movement, but really don’t know how, although I didn’t try very hard yet.
So if anyone have faced similar problem before, please share your experience with me or give link to some handy car movement script.

You don’t needan asset. Unity comes with a really cool “wheel collider” that has properties you can access from script. These let you easily speed up, slow down, and turn the wheels. It makes handling cars easier.

Im using wheel collider but, it feels like car is on never ending “drift-mode”. Do you know how to make it less slippery ?

That’s weird. Could you apply a physics material to the road and raise the friction?

Quickly after my last reply I solved my problem and kind of forgot about this topic.
Yep friction was the cause, but somehow I didn’t need any material on my road to make my car behave nicely. Although I will try it later, when I will be dealing with boosted speeds.

1 Like

So now proper “driving into a bend” with high speed is my problem. My car either does not curve enough and hits outside side of my road (that happens when overall friction and steering angle is low I belive) or in the end rotates 180 deegres or more (that happens when overall friction and steering angle is too high). I can make a video if this description is not enough.
I don’t know which values of wheel collider would help me balance this “process”.

1 Like