How can I change the properties of the Grid Graphs(Center, Rotation, width(nodes) ) on code?
Example:
(…)
“aStar.graphs[0].center = …” ?? <—
aStar.graphs[0].Scan();
(…)
Thank you for your attention.
How can I change the properties of the Grid Graphs(Center, Rotation, width(nodes) ) on code?
Example:
(…)
“aStar.graphs[0].center = …” ?? <—
aStar.graphs[0].Scan();
(…)
Thank you for your attention.
Correcting:
“aStar.graphs[0].center = …” or “aStar.graphs[0].rotation = …” (what I put here? is it possible?)
aStar.graphs[0].Scan();
Thank’s.
That is possible. However in the current release, it is not very well designed. So you need some other slightly unintuitive function calls as well. See http://www.arongranberg.com/?s=RelocateNodeshttp://www.arongranberg.com/?s=RelocateNodes
Oh, great! I agree that it is not obvious, but is resolved.
Thank you.