Hi All,
 
i have a scene which contains many spheres. every Sphere is a child of a TransformGroup, and everyTransformGroup is a child of a BranchGroup which is then compiled and added to the simpleUniverse.
i save my spheres in hashTable which i then use in another method.
in the other method i get the spheres from the hashTable. for every Sphere that i get, i want to get also the parent TransformGroup. i tired using the getParent method but i get an exception which says that it can't be done on a live or compiled object. so, i tried to apply  detach on the parent BranchGroup and then call the getParent, but it didn't work also.
how can i get the TransformGroup of each Sphere? is there some other method that can retrieve the TransformGroup / parent?
 
thanks
Dafna
=========================================================================== 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