Hi Elio
When u r making a BranchGroup which u need to remove. first set the capability for
that branch group
bg.setCapability( ALLOW_DETACH );
Now when u need to remove this just call
bg.detach();
Next time u want to add just simply addChild again
root.addChild( bg );
and also if you wanna check if the BranchGroup is attached or not
bg.isLive()
will give you the answer.
Tell me if I answered your question or u need some other help
Ahmed
-----Original Message-----
From: Elio Vega [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 1:07 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Remove geometry of a escene
Hello all.
I have the next problem, I will remove objects of a
escene and changed to others.
I'm use the method removeChild of the class
BranchGroup, but don't doing nothing.
Do you have a example to do it?..
Thanks
Elio
_________________________________________________________
Do You Yahoo!?
Obtenga su dirección de correo-e gratis @yahoo.com
en http://correo.espanol.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".