Hi,
I’m using Recast Graph. The agent is using RichAI. I’m trying to implement an agent to follow me (the character I’m controlling). I set endReachedDistance in the editor to some values but it appears that the agent is not respecting them. The agent is trying to collide with my character to reach the target point but it never reaches which causes him to push the character with velocity not reaching to zero.
I’m using the latest version 4.2.15. I want the agent to respect the distance value set in endReachedDistance and his velocity should be set to zero once he reached endReachedDistance.
Of course I can create an empty GameObject behind my character and let it to be the target. But I don’t want to do this workaround.
Your help is highly appreciated.
Thanks.