- Home /
Question by
iDROIDstd · Aug 13, 2018 at 03:05 PM ·
aiprogrammingnavmeshagent
Retention distance of enemy relative player
How to save the distance between NavMeshAgent and Player? I know how to know the distance between them, but keeping distance makes me stupor. Help me!
Comment
Do you want the Nav$$anonymous$$eshAgent to always keep a $$anonymous$$imum/maximum distance from the player when moving?
Your answer
![](https://koobas.hobune.stream/wayback/20220612172731im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Making an FPS arcade game. 0 Answers
Making an FPS arcade game. 0 Answers
Checking if a non-walkable layer is blocking the path? (NavMeshAgent) 0 Answers
NavMeshAgent resume original position and facing direction C# 0 Answers