Hello,
I have been following the docs and reading lots of questions on the forum, but at this point I am not sure if they are depricated (I am using the latest version from the website).
So does the richAI component smooth the path or it still needs FunnelModifier?
Also the SetDestination is a separate script now and I am wondering how to deal with it. As far as I understand I should have:
-Gameobject that holds - Seeker, RichAi + a script similar to set destination that sets the next target, but then how do we use the OnPathComplete event and stop the AI / do something else when we’ve reached the goal? It keeps pushing the player no matter EndReachDestination is 0.5 or 20.
In your example the onPathComplete is used in the seeker that starts the path but now we start the path using - ai.destination = target.position;
Edit : I found a checkbox to use the Funnel Simplification on the rich ai, also I think that checking
_richAi.reachedEndOfPath is doing what I was looking for.