Matse - 15 March 2012 09:10 AM
It’s a bit hard to understand what you mean, any class extending ObjectContainer3D, and ObjectContainer3D itself are “groups” : they can have children, and removing the group will remove all children of that group.
I create two floors ues 3dmax named 001001 and 001002,
and each floor has many doors ,named door_001001(building1floor1),and door_001002(building1floor2).
I want achieve the effect that ,when click floor named 001001 ,and doors named door_001001 hide too.
now I must serach doors named door_001001,and added into floor 001001 in away3d.use
for(var i:int = 0 ;i< 3ds.numchildren ; i++)
{
if(doorName == door_001001)
{
001001.addChild(door_001001)
}else if(doorName == door_001002))
{
001002.addChild(door_001002)
}
}
but flare3d ,i can group floor and it`s` doors in 3dmax then export named 001001 .doors auto become floor child.
so ,if i have lots of floors and ten thousands of doors ,what shoud i do?