findchild and collisions

Blitz3D Forums/Blitz3D Programming/findchild and collisions

You need to do this in a recursive way since there may be grand-parents etc. that are not direct children. Have a look at this:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1170

You may use a similar method to read all names. In case you are not looking for "Mesh" entities, have a look at the versions.txt for the other EntityClass$()es.

At the other hand "FindChild" works trough all generations automaticly, but I agree, when you are searching for parts in names, it's not very useful unless you start a brute force search for some child entity names :)