Hi!
> My solution to identifying a Picked transform was to store all of my
> transformgroups in an array of my own class. Then I had my Pick behavior
> call a method in the main to cycle through all the instances and compare the
> picked transform to each instances transform. I did this with simply an if
> statement.
I'd like to suggest to use a hashtable instead of looping and comparing.
You construct a HashMap with TransfromGroups as keys, and then you can
use the result of your pick directly to derive any associated object from
the hashtable.
Regards,
Marc
---------------------------------------------------------------------
Marc Alexa Darmstadt U. of Technology
[EMAIL PROTECTED] Dept. of CS, GRIS
http://www.igd.fhg.de/~alexa 3D Graphics Computing
Phone: ++49.6151.155.674 Rundeturmstr. 6
Fax: ++49.6151.155.669 D-64283 Darmstadt, Germany
---------------------------------------------------------------------
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/