Suppose I have ten boxes (using the Box class) live, with different positions. I can use PickCanvas to pick the box, but how do I differentiate one box out of the other? For example, using a mouseListener, PickCanvas, and PickResult, I can write to console (using System.out.println() ) when a box is picked. But there is no way I can tell which box is picked, since the only method in PickResult is getNode.
I tried to use getNode().getParent() for example, thinking that I can get the TransformGroup of the box picked, I can get its TransformT3D and decide which box is picked based on its (translated) position. But of course the getParent() method of Node does not work if the Node is live. Could someone please help me? Thanks in advance. Reuben D. Budiardja =========================================================================== 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".