The Animal AI system is a simple AI behavior for the animals. It works like a state machine having different states for each animal like Idle, Walk, Sleep and more.
The animal AI system depends on the Unity AI Navigation Package that you can add to your project by going to ”Window>PackageManager>UnityRegistry” and search for “AI Navigation”.
After you have added the package, you will need to set up two agent types, one for the animals and one for the monsters. So:
Here are the settings we used for the agents: