Hi, Gael!

It's possible to add objects in runtime. You just have to set the capability
bit of the BranchGroup to which you're adding the object. You do so like
this:
yourBranchGroup.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
Then you can add your object as usual:
yourBranchGroup.addChild(yourObject);
I hope it answers your question...

Fabrício


-----Mensagem Original-----
De: Gael <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: Segunda-feira, 26 de Novembro de 2001 02:05
Assunto: [JAVA3D] How to add object?


Hi everybody,

I have some problem to add object into my world when this one has been
compiled and is running.
So, I would like to know if it possible to do it and if yes, how?

Thx,
Gael.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.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".

Reply via email to