Building off of unity's seek and flee tutorial. This project simulates multiple path-finding behaviors. Control your cop with WASD, The brave robber with dynamically pursue you, while the cowardly robber dynamically evades you. If you catch up to the coward or are caught by the attacker, they will dynamically stop as they enter the circle around the character. Your partner, Officer Wiggin isn't very focused and will dynamically wander around the scene. Backup in the cop car will follow a simple pathfinding algorithm. To visualize these algorithms, all agents generate lines from themselves to their current target. The player character has a circle around his base to show when the dynamic arrival algorithm should begin and the police car always pursues a target purple sphere. 

Leave a comment

Log in with itch.io to leave a comment.