I have pick behaviors defined on each object that makes up my scene. Each
object is in its own TransformGroup. So if I click the mouse on an object
then I can manipulate it.

How do I find out which object I am currently manipulating. E.g. if i had an
object contained in the transformgroup object2, then if i click with the
mouse on object2 in the scene, I would like to retrieve the name object2 in
string form so i can print it out using System.out.println.

So how can i retrieve the names of the transformgroups i am currently
manipulating/picking with the mouse?

Thanks.

************************************************
                        Arvi Chahal
                [EMAIL PROTECTED]
************************************************

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to