How can I find the BranchGroup of a picked Object
so that I can remove/delete the Object from the
SceneGraph.
With 'pickScene.pickNode(pickScene.pickClosest(xpos, ypos,
PickObject.USE_BOUNDS), PickObject.BRANCH_GROUP);
(as in the PickHighlight example) I only get a null pointer
Structure: BG - BG - T - Object
While I can`t use 'getParent()' on a live tree I only see
the possibility the keep all the references to the nodes
global and make the way up comparing them.
Is there no nicer solution ?
Michael
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/