Horror Game: Making Zombies Move
Implemented AI and NavMesh to move the zombie objects towards the player
4/9/20241 min read


After writing the script that handled player movement, I have adjusted it to make the player sprint with left shift key. Also, I added stamina to player. Now, the player can run so much without getting tired. I believe this makes it more realistic.
After completing player movement, I wanted add zombie objects and implement the logic behind their movement. I used AI and NavMesh to make them follow the player. The white parts on the terrain are the parts the AI can not move. It will help me place more than 1 type of zombie in the same terrain.