I'm trying to store the positions of a specific set of nodes in a scene (so I can iterate through and check distance). However I haven't been able to find a way to do so.
I'll give an example:
Node 0 needs to store the positions of a specific set of nodes in an array.
Nodes 1-8 have are at varying positions away from node 0.
Node 0 needs to specifically store the positions of Node 2, 3, 6 and 8. What would be best way of doing so?