Make your objects extend Shape3d.
When you get the SceneGraphPath to the Shape3d picked, you can downcast it to your
class and call whatever you want in there..
Chris
David McCafferty wrote:
> Hello,
>
> I'm new to Java 3D and I'm trying to build an interactive 3D-user interface. I've
>had no problem with displaying all the objects and moving through the universe. The
>problem I'm having is getting a reference to the object that has been picked - I am
>able to change the appearance of a picked object using a general routine, but I need
>to be able to call object-specific routines, not just general ones.
>
> Any ideas greatly appreciated.
>
> Also does anyone know of a useful text that could give me help with Java 3d in
>general (the online tutorial is far too brief in the important places!)
>
> Thanks...
>
> David.
>
> ===========================================================================
> 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".
===========================================================================
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".