I'm writing a Diablo-like type game in Unity and currently working on the AI system. I want my agents to roam and interact with the world.
I recently read the excellent book "Programming Game AI By Example" and I'm having a bit of a challenge understanding of how to use both path planning and steering behaviors. Let's say that the agent sees the player and decide to seek cover or stand in between the player and a treasure-chest, or even engaging the player while keeping a safe distance and avoiding dynamically created objects (e.g. a fireball spell). The path planning (and Unity's navigation system) allows me easily to set a target for the agent, but how do I incorporate steering behavior at the same time? Path planning helps the agent moves to some point and steering behaviors set forces to guide them... the two seems to compete with each-other and all the resources I see online explain each topic in separate not in conjunction.
Would greatly appreciate if someone can share from his/her own experience or point me to the right resources.
BTW, Which Path Planning and Steering Behaviors packages do you use in your own Unity games?
Thanks!