Hi,
I'm having trouble with my NPC's line-of-sight. It's set to custom and I've added an obstacle (blue box) with the Add obstacle action, but the NPC can still see the player. It works when I add the Solid behaviour to the box, but that will cause other issues. Does the obstacle have to be solid in order to obstruct the line-of-sight?
Thank you
Did you set Obstacles:Custom in the LOS behavior properties?
Develop games in your browser. Powerful, performant & highly capable.
Hi Dop,
Yes, I set the Obstacle to Custom for the NPC LOS.
I got it to work with the Wall_Enemy (pink box), but not the Floor_HB_Ground (blue box). I'm struggling to understand why.