I am creating a game for a German project that involves driving on the Autobahn. I want the car to move forwards along the Z axis at a constant speed but I don't know the script for it. Everything I find either gives me errors or causes it to move along the x and y as well. I don't think this will make a difference, but the camera is parented to the car.
use transform.Translate and rather than just copying some script read the documentation and understand it, then you wont have these problems. It's called learning.