Website powered by

Patrolling AI Agent

This is my first attempt at making an enemy to the player that will follow his set patrol path. When the player gets within a certain distance, the enemy will attack. However, if the player can get far enough away from the enemy again, the guard will return to his patrol.