How to fix Input.GetAxis

whenever I press down on the “w” key I move to the left, “s” key I move to the right, “a” key moves forward and “d” key moves back. I’ve looked that the inputs in the project settings and couldn’t find a problem.110293-movement.jpg

Thanks mate you are a legend. I really appreciate it.

2 Answers

2

@cgodf21

Switch the places of moveHorizontal and moveVertical inside of the Vector3 movement and it should work fine

thanks it works fine

No problem make sure to mark the answer as correct