basically I am trying to find the easiest way to grab all the robots in a scene and put them into an array.
right now I am using a simulation node list property and dragging in all the robots in the scene manually.
I want to grab them from script. only way I have though of so far is cycling through all the components using a for loop and checking if the are robots and if they are add them to the array but it doesn’t seem like an efficient way of coding it. but maybe that’s the only way?
would love to hear if there is a better way. Thanks