Move Object error with Input.GetAxis;

When i try move my game object, with Horizontal, player move normal, but when using Vertical, value z changed but GameObject don’t move in map. What problem when i using it?

 if (Input.GetAxis("Vertical") > 0) //Move up
            transform.position = Vector3.Lerp(transform.position, transform.position + Vector3.forward, speedMove * Time.deltaTime);

Good day.

Are you sure Vector3.forward is the direction you want?


Some problem with rendermode of camera. And if change value of Vector3.forward to Vector3.up could help move game object in map;