Game Development Community

Is there a getMountedChildren() method

by Stanley D Chatman · in Torque Game Builder · 08/30/2006 (5:21 pm) · 1 replies

I see on the t2dSceneObject class we have a getMountedParent() method but I need to get all objects mounted on a particular obect, so I actually would need the children.

#1
08/30/2006 (5:56 pm)
I'm not sure if there's a single command that does this. However, you could add you children into specific simsets, scroll through the simsets and use "getIsMounted()". If so, then call your functions else move on to the next object in the simset.