- Home /
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
Comment
Best Answer
Answer by almo · Jun 20, 2011 at 08:59 PM
Check out the MouseLook script which is used by the FPSController Prefab.
Thanks!
Sorry I ask such noobish questions, I'm new to Unity.
Sure. If that helps you out, please click the checkmark by the answer. That lets people know your question is solved.
Your answer
![](https://koobas.hobune.stream/wayback/20220612112950im_/https://answers.unity.com/themes/thub/images/avi.jpg)