V
V
Vrtop2019-09-13 19:10:06
C++ / C#
Vrtop, 2019-09-13 19:10:06

How to find out the length of the route in the Navmesh unit, provided that the route is already built and known?

How to find out the length of the route in the Navmesh unit, provided that the route is already built and known?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Gaydak, 2019-09-13
@MrMureno

I wanted to reprint, but in fact you would just have to search in English and find this
https://forum.unity.com/threads/getting-the-distan...
I hope to have enough knowledge of English to read.
in short, then build -> check status -> find out the distance.

F
freeExec, 2019-09-13
@freeExec

NavMeshPath- contains a list of waypoints, you just have to calculate the distances between these segments and add them up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question