Most people approach this by assigning some "UserData" to the objects as
their created using setUserData(). Then once you've performed you pick you
can use getUserData() to retrieve the identifier you assigned.

Kev

> Hi,
>
> I'm using pickmousebehavior to pick objects
> and make transformations on them.
> But how can i return the "name" or "id" of the picked
> object.
> I need to know what object i'm picking because
> it is a menu and requires that to open one from 3 scenes.
>
> Thanks in advance
>
>         Carlos
>
> ===========================================================================
> 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".
>


--
'Current' Project:
        Home Page: http://www.cokeandcode.com

===========================================================================
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".

Reply via email to