How i cant print the velocity in my car by console??

How i cant print the velocity in my car by console??

Sorry this is a bit late, i've been busy with school but if you still need help can you describe what kind of rotation you want to occur.

1 Answer

1

in your update function, assuming your car object is called car, and has a rigidbody attached to it

Debug.Log(car.velocity);

Thanks, but I solved it. In the end, I just changed the whole rotation using Quaternion.Euler