- Home /
How do I limit the path of a NavMeshAgent?
What I want to do is limit the distance a Navmeshagent can move in a single turn.
What I've already tried is to measure the difference the object has travelled every frame, but this solution is very imprecise, especially at lower frame rates.
Is it possible to have an agent calculate a path to a point far away, but actually set the path end at a certain distance along it?
I also tried measuring the distance travelled using FixedUpdate, but the same problems still happen.
Your answer
Follow this Question
Related Questions
How to add variables to Components (Nav Mesh Agent)? 0 Answers
Is it possible to have a navmesh agent that ignores obstacles? 1 Answer
How can i modify the navMesh path? 0 Answers
is it possible to use navmesh on flying character and target ? 0 Answers
How to speed up built-in Unity pathfinding using navMesh? 1 Answer