Simple flashlight - type effect for 1st Person Controller

I’m using the basic First Person Controller that comes with Unity. Can anyone please suggest a way I can add a light to the GameObject that makes wherever the player is looking brighter? Kinda like a flashlight - but I don’t want to be able to flick it on and off, I want a dark dungeon - type level and to allow the player to see a bit brighter directly in front of them.

Thanks,
BoM.

Attach a light to the controller? If you need a more realistic flashlight, use a cookie that simulates flashlight lens.

If I create a Directional Light and try to attach this to the FPC I get ‘this action will lose the prefab connection’. Is this a good or a bad thing?

Bumped - can anyone please give me an answer?

Well first off you don’t want to use a directional light for a flashlight, use a spot light instead. And when you get the message to break the prefab connection go ahead and click OK.

This. Spot or point will work for flashlights(well point would not look like flashlight, but it would make your character emit light anyway). Directional light is kinda like sun. The source is always at the very top of the map. Would make no sense to have that on a character.

Losing prefab simply means that it is no longer the default prefab it was when you dragged it out. This means that if you edit the default prefab, this instance(which is no longer an instance) will not change accordingly.

If you want to, you can put the light on and then just save the new prefab over the old one(not recommended unless you know what you’re doing though). If you do want to, just drag the new controller from scene hierarchy view into the prefab(i hope you know how to make and update prefabs)

Thanks - got the spot and point light working. I will have a tinker with the settings. Appreciate the responses.