- Home /
First Person Torch Light
Hi all, I'm a complete beginner to unity and am trying to make a simple maze game and came across the idea of it being dark and that the player has to use a torch to see. I have looked into this on the forums and found something about attaching a spotlight to the player but this doesn't really work as the light stays on the same x axis and i would like it if you could point the light with your mouse. If anyone has any suggestions they would be greatly appreciated Thanks!
and one more advice, ask only for your problem, don't post ur concept, chances are it might be stolen. just to be safe :)
Answer by Berenger · May 20, 2012 at 02:08 PM
Import the character controller package in asset->Import package, then take the MouseLook script (you don't really need the others) and drag it onto your light.
Your answer
![](https://koobas.hobune.stream/wayback/20220613071716im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mouse Look Controller that can rotate on the Z axis 1 Answer
Is anyone able to fix my code? 3 Answers
How to move the rotation of the X and Z axis of a 3D model's head with Mouse Input? 0 Answers
Unity 3D - Lighting - Torches - HELP! 2 Answers
First Person Melee System - How to attach a weapon which swings and hits an enemy? 2 Answers