Archive 17/01/2023.

Shortest path on FindPath

dev4fun

How I can find the shortest path on navigation->FindPath? I already tried to use FindNearestPoint before to use FindPath, but didnt work.

Game found the path on white lines, my question its: why the game didnt find a shortest path, like the red line?

Same happens here:

Someone knows if has a solution for that?
Thanks.

1vanK

https://github.com/recastnavigation/recastnavigation/issues/239