Quoc,
That's correct, you can only detach BranchGroups. If you want to remove
something else you have to detach the BranchGroup first, then modify it,
then attach it again.
- John Wright
Starfire Research
Quoc Huynh wrote:
>
> Hi All,
>
> I'm new to java3d, I'm having trouble allowing the user to add and remove
> objects in the scene. I'm not sure how to remove a child object from a
> transform group. Whenever i use the removeChild() method, i get an error
> message saying that I can only remove BranchGrouyp objects... obviously i
> need some other way of doing this...
>
> any thoughts, pointers to example code that is doing something similar
> would be greatly appreciated.
>
> cheers,
>
> Q.
>
> ===========================================================================
> 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".