So I have a bunch of objects that have a naming scheme. I make these objects children of another object. I create an array from the children components. I’ve noticed that the order of the objects in the array is based on the order of which they were added to the scene and not the hierarchy nor the naming scheme. Is there a way to construct the array based on the name of the object? “object_01” “object_02”
You could sort the array by the names of the objects.
Here you can see a SortArrayOfStrings. You can change the array to your array and then, before the LEN nodes from the GET, get the DisplayName of your objects and plug this into the Len (length) nodes and the GetCharacterAsNumber nodes.
1 Like