Can we get an array of children in the order reflected in the hierarchy? world.GetChildren()
returns a Generator that is ordered by eid. I also tried world.three.entityToObject.get(parent).children
but that returns a similar array. They’re ordered alphabetically as name_NUMBER
, but I can’t seem to access the name to sort by.
Any pointers?