Greatings!
In my project I have a moving (but not changing) map and I need to find path through this map. Logically, in Unity I should just put my map and a grid graph in one game object and move that object. But grid graph doesn’t move. Is there a way to solve my problem? Thank you in advance!
1 Like
Hi
Actually it is recommended to avoid moving the actual graph ( because that is slow ), however that doesn’t stop you from creating the same effect.
See http://arongranberg.com/vanillaforums/discussion/comment/936/#Comment_936
Also http://arongranberg.com/vanillaforums/discussion/comment/1815/#Comment_1815
This one actually updates the graph, probably not the best solution for your case.
Same problem here… I need a graph that follows position and rotation of a map (without this change) … is not possible to structure something about it?
Hi
See previous post for just moving a graph (without recalculations).
If this is instead something that follows a point around while updating the graph around it as it moves around (i.e the graph moves, but not the world), then you should use the ProceduralGridMover component.