How to move the graph generated by RecastGraph?

I saved my graphData,but when the overall position of my scene changes, the data in graphData is incorrect (just the grid position), but I do n’t want to scan it again. Is there a way to change the position of the grid saved by RecastGraph?I know For GridGraph, I just need to change his center.


After you have loaded the graph with all the nodes you can use this method:

thank you!This is great!

1 Like