Flashlight damage

Hi, I am making a horror game and I’m trying to make the flashlight damage ghosts but I don’t know how to set that up. Can someone show me a node set up of how that would look? I’m new to nodes so I would rather be shown what to do. Thank you.

Hey @MagicalEssence!

In this case I would try using a raycast along the beam of the flashlight.

Here is a non-Epic affiliated video with a similar premise:

I hope the above is the solution you need!