Hello everyone,
i am facing a problem with my torch light keep getting flash by my light.
I have my flashlight follows my camera via script, then I have my torchlight parents to the camera.
I also have my flashlight to be offset by the camera by a bit, so whenever I turn left, I can see my torchlight getting reflected by the light.
If I put the light at the end of the object flashlight, when i turn back my player body will block the light, since the flashlight is following the camera.
I believe what Kurt meant is that the light source should be a child (and at the front) of your flashlight. Thus it would turn with the flashlight and couldnt illuminate the flashlight itself.
I’m not entirely sure why the light should be blocked by the player model if it was a child of the flashlight. But the light you attach to your flashlight should probably be a spotlight.
Thanks for all the replies, after several tries, I have decided to make my flashlight parent to my light, it works as I want to. I just forgotten about the offset on the torchlight.