Hi, I’m making a flying enemy and I would like to make a spotlight like the drone in Zelda Breath of the Wild(attached picture). So I thought the easiest thing to do would be to make a spotlight and that’s it but unless the place is very dark you can hardly see the spotlight. So I decided to create a static mesh which is a cone and apply a material to it so you can see the vision of the flying enemy. My problem is that no matter how much I’m trying with materials I can’t get the cone not to pass the elements it intersects, that is, I would like the cone to behave like a spotlight and not pass the walls and so on. So I would like to know if there is a way to apply some material to a spotlight or something like that. Or if anyone knows another way to deal with this implementation. Thank you very much in advance.

