Alessandro Borges wrote:

hi
I guess you can not remove child of TG.
You can remove only child of BG nodes.

Chenge your scene to
BG --> TG --> TG1 --> BG1 --> Box
then
BG1.removechild(Box);

Maybe it solve your problem.


No, that will not work:


wrong -> You can remove only child of BG nodes.

corrected -> You can only remove BG nodes.

Therefore use the graph Alessandro suggested, but call TG1.removechild(BG1) instead. Remember to set the capabilities to do that.

Regards
Nikolai

----------------------------------------------
Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Denmark, EU
Phone: +45 63 15 71 31  Fax: +45 65 93 29 99
WWWeb: http://www.ifad.dk
e-mail: [EMAIL PROTECTED]
----------------------------------------------

===========================================================================
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".

Reply via email to