FPS Flashlight Vertical Movement

Hello,

I created a flashlight by adding a spotlight to my game as a child of my FPS controller, and added a script so when I press ‘F’ it turns on and off. The flashlight moves properly horizontally in a circle around my player but not vertically above and below my player. Is there any way to fix this?

Thanks,
MNKYband

Check out the MouseLook script which is used by the FPSController Prefab.