
Chasing the Player
Tutorial
intermediate
+10XP
35 mins
(119)
Unity Technologies
In this project we start writing the pursue and attack states to add to the NPCs behaviour. Next, we will complete the code for getting the NPC to pursue and attack the player.
1. Chasing the Player Part 1
In this tutorial, students will learn how to program the AI to detect and begin chasing the player character.
2. Chasing the Player Part 2
In this video we will complete the code for getting the NPC to pursue and attack the player.