Why my transform is moving backwards?

I have the following scene…

The vehicle is Combat 4WD Vehicle (from the asset store)

In the script I just added the following code

gameObject.transform.Translate(Vector3.forward * speed * Time.deltaTime);//speed value is 10.0f

When I run the ‘game’ my car moves backwards. Why? I was expecting to move forward, like a regular car would.

It’s because you used Vector.forward - it’s global(world) forward. Use transform.forward for local forward axis. Hope that helps.