Mounted Children Question
by Chris Aiken · in Torque Game Builder · 10/04/2006 (8:16 am) · 1 replies
Is it possible to determine what objects are mounted TO a particular object? In other words, suppose object A is mounted to object B. I can use A.GetMountedParent() to get B, but is there anyway to reference A from B?
Torque Owner Alex Rice
Default Studio Name
if(! isObject( %tParent.mountedChildren)
%tParent.mountedChildren = new SimSet();
%tChild.mount( %tParent , ... );
%tParent.mountedChildren.add ( % tChild );