plane02 was just the name of the object... I could have renamed it to anything like sky in gile[s] but I couldn't be bothered :)
root node? simple :)
Think of a 3d model being a directory of folders
some are nested inside others.
When a model is exported, often there is a parent, or root to the model. This is where the model starts and all the other bits of the model are inside this. So to search, I needed to look beyond the first child. Cos the first child is the root, and other children are inside that root...
;level has a root node, so get first child of that
Yep, so I start searching inside the first child instead.
That code could be a lot better organised...
root node? simple :)
Think of a 3d model being a directory of folders
some are nested inside others.
When a model is exported, often there is a parent, or root to the model. This is where the model starts and all the other bits of the model are inside this. So to search, I needed to look beyond the first child. Cos the first child is the root, and other children are inside that root...
;level has a root node, so get first child of that
Yep, so I start searching inside the first child instead.
That code could be a lot better organised...