Title: Help
I believe you have to do this:
 
1. Make the world dead --> remove Branch Graph from Locale
2. Remove every branchgroup children, from end to first because they shift when removed --> you can use removeChild method to do this : branchgroupname.removeChild(child number)
3. Make the world alive again
 
But keep in your mind I am a newbie, if anybody suggest any other way or think this is not right I'll be please to be corrected.
Hope this gives you a hint for starting. good luck.
 
Carolina
----- Mensaje original -----
De: silvano
Enviado: jueves, 13 de septiembre de 2001 18:37
Asunto: [JAVA3D] [Java3D]question

 
 
I am using a BranchGroup to add child into a TransformGroup
 
 
ex:
 
TransformGroup tg = TransformGroup();
BranchGroup b;
 
for (i=0; i<cont; i++)
{
 
    b=new BranchGroup();
 
    tg.insertChild( b , i );
}
 
but I can�t remove the childrens after!
 
How I make this??
 
 
Thanks a lot!
   

Reply via email to