Knowing the shortest path given multiple target positions

Hello,

I’d like to know if there is a way of obtaining the distance of two points within the navmesh using a Navmesh Graph.
The idea is to obtain the nearest point (based on the navmesh) from the player position so I can define which one is the nearest and assing it as the target to the player’s seeker.

Thanks in advance,

Julen.

Hi

You might be interested in the MultiTargetPath instead:
See

Thank you very much.

1 Like