- Home /
Rotate flashlight.
Ok. I have my game, have my flashlight script working and everything. But, when I look up the flashlight stays in the same spot. Is there a way to make it so when I look up, the flash light will move with me?
Answer by SisterKy · Aug 10, 2011 at 08:55 AM
Why not just parent the flashlight to the camera...? (in hierarchy-view, just drag it on the cam so that is a sub-object of camera)
Note: Please don't use useless tags like 'unity' and 'ask' (everything here is about unity and asking questions); use tags that have actually something to do with your problem. like 'light' 'follow' 'camera' (these are far from the best tags, but still somewhat useful...)
Greetz, Ky.
Your answer
![](https://koobas.hobune.stream/wayback/20220612173812im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I make my flashlight follow the camera when moving? 2 Answers
How do i get a weapon to follow the first person controller up and down? 0 Answers
How can i turn on/off the camera light of my phone? 1 Answer
Third preson controller without camera controller !!! 1 Answer
Camera follow rotating ball 2 Answers