Hello, I’m making a racing game and I would like for the car to always face the ground. Would I need a character controller, and if so what should I use in script, or a regular rigidbody, and if so what should I use in script?
Hey, I’m not entirely sure if this is but you mean, but i’ll try to help:
If you want to make sure physics don’t end up making your car “look” anywhere but to the ground, you would have to use a ridgidbody and enable freeze rotation on the x and y axis(or other ones if your game faces elsewhere).
use this:
transform.eulerangles.y = ground.transform.eulerangles.y;