Making a tactical third person shooter, need help with stealth elements for AI.
I want NPC enemies to have a cone of vision so a player can easily sneak up behind them without being detected and killed. I've tried raycasting but cant seem to get the directions right.
Help plz |