A* Pathfinding Project

Moving with navmesh


Is somehow possile o teleport whole (cashed) navmesh to different location (only one time on start of the scene)? I found your example with local space navmesh, but problem is that navmesh gizmo stays in previous location and it is hard to debug.



If you want to move the whole navmesh you can use


See https://arongranberg.com/astar/docs/navgraph.html#RelocateNodes2

Note that the individual graph types have some overloaded methods that are recommended to use

For recast/navmesh graphs this one is recommended

For grid graphs this one is recommended