I need help with mouse look function for my first person shooter project.

The problem is when I move the mouse up and down, the gun rotates but when I move it left and right, it is just fine.

The problem is not the script as the demo file does not have this problem.


What could be the problem?

your rotating two axis at a time, instead of 1

also check out Simple Mouse,
or the new mouse actuator look mode?


SimpleRig.blend (547 KB)

Thanks man that helped me to understand the process.