First Person Controller not working properly.

I have the first person controller it was working. But now I don’t walk straight when I press forward. Or any other directions. It’ll go whichever direction it feels like. Is there a problem with the script or something?

Yeah, that happens to me a lot as well every now and then not constantly. It usually is fixed when I restart unity. Don’t know why it happens sometimes. If anyone knows that would be great.

Turn the “FPSLook” script in the “MainCamera” to only look in the “Y-Axis.” Then turn the “FPSLook” script in the “FPSController” to only look in the “X-Axis.” That should fix the problem.

Sweet it worked. Thanks. I was just messing around with that, I didn’t know it would do that.