Enter light cone deteection?

Hello.

I have this drone, I kinda want to use as an obstacle for the player, in the way that the player should avoid being detected by the drone.

The idea was if the player steps into the drone’s red light cone, the drone sees the player. The light is coming from a spotlight component on the drone’s actor.

I was wondering if it was possible to trigger a collision like event, when the player enters the light, cast by the drone?

Hi,

The only way I can think to do this would be to make a BP for your light and add a collision sphere the same radius as your light. then check if your player overlaps the collision sphere.

1 Like

It’s a spotlight so a sphere could be limiting if he needs precision, it this case I would proceed creating an invisible conical static mesh that matches the light shape (especially if it’s movable) and use the same OnBeginOverlap event

1 Like