- Home /
Question by
terry7545 · May 06, 2016 at 12:28 PM ·
navmeshagentdistancestopping
NavMeshAgent's stopping distance doesn't work
Hi everyone, I have an object who has NavMeshAgent component with the stopping distance as 4, But when the object stops, I calculate the distance between the target and the object by Vector3.Distance(target.position, transform.position), the result is 1.
Does any one know why there is a deviation between these two distances?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612080237im_/https://answers.unity.com/themes/thub/images/avi.jpg)