How to destroy actor on collision with a light

Unsure how to go about destroying an actor on collision with a light - I currently have a rect light in the viewport of my first person BP that turns on and off when E is pressed, I’d like to make it so certain actors within the scene are destroyed when they come into contact with the light.

As the player is stationary I’ve tried adding a collision sphere the same size as the attenuation of the rect light but can’t figure out how to have the actors destroyed only when the light is on.

Any help is appreciated, thanks.

Begin Overlap → query whether the light component is on → if True → Destroy overlapping actor.

1 Like

How would I query whether the light is on, is that using EQS? I don’t understand which BP to use

Detect overlap in the light actor, check if light is on, if so, destroy the Other Actor

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.