In my game I have a car racing scene and I have my car perfectly set up and the car its racing has a script that makes it shoot out like a bullet but then eventually slow down and stop. here is that script:
var speed : float = 5.0;
yield WaitForSeconds(6);
rigidbody.velocity = transform.forward * speed;
I know its very simple. Can i Have a script that makes it constantly move? thanks.