I’m currently trying to create a kind of planet, where some units could walk on. For now I tried the Point Graph method, so I placed nodes etc. But now, first I don’t see any links (blue line) between them, and I’m wondering if adding nodes at run time updates the graph.
If you are adding new GameObjects to the point graph during runtime you need to recalculate the graph to take those into account. You can recalculate the graph using
Yes thank you, I was about to edit my post to say that I spotted that. Working well.
Now I’m trying to figure out if I must change the Max Distance, should it be the distance between two nodes or the max distance a path can be ? :-/
Is it something bad to have a value bigger than actual possible distance between 2 nodes ?
I mean if I put 10 but the max distance between two of my nodes is 2, is there any useless stuff performed ?