creating a single patrolling npc

Create a game with a single NPC that patrols. Using netcode as it will be a two-player co-op game. Wondering what the best way to do this will be performance wise. I don’t feel like I need a full pathfinding system. The NPC won’t be moving towards the game characters at least in this early version. Just need to be able to calculate line of sight.

Please close this thread. The question is no longer valid.