Thanks. The challenge I've had w/ the LOS cone is that it only works for forward facing enemies. I.e., if I set the cone to be in the direction the enemy is facing, I can basically walk up behind them and I won't be in their LOS.
I'm trying to implement a somewhat intelligent enemy AI, specifically:
- they'll 'see' me from far away if they're facing facing me
- if they're not facing me, they'll 'see' me when I'm closer, but I don't need to be right on them
- if I shoot them from behind, they instantly know I'm there, regardless of how far away from them I am
I guess this isn't really what LOS behavior is meant to accomplish, and it's more useful when trying to hide behind solid objects, etc. Just wondering if I'm missing something.