Devlog 4: AI and NavMesh


This week, I was working on the AI for the game. The first part of adding AI to the game was getting a NavMesh, so the AI can navigate the level.  A NavMesh is a navigation mesh that is used to define the areas that the AI can navigate, The NavMesh was easy to add to the game because Unity has the NavMesh available on their GitHub, so I downloaded it and imported the MeshMesh into the project. 

After the NavMesh was imported into the game, I moved on to adding in the dinosaur AI. I got the dinosaur to walk around the level then I got the dinosaur to chase the player when they are in the dinosaur's line of sight. I added the dinosaur's attack. I sourced the model and animations for the dinosaur.