Hi nagehan pala,

The way I accomplish this using one behaviour is to extend BranchGroup with a user 
class containing the additional information I need. Then, you can have one behaviour 
that uses picking to find the BranchGroup that was picked. It's a different 
approach....

josh

>>> [EMAIL PROTECTED] 08/04/03 12:00PM >>>
hi Lewis

but it is not easy...because I have many different shapes and they can be
inserted to or removed from the scene by user.I should know which shape is
clicked, these shapes represent servers, computers so when you click on one
of them, the information of this shape(this server or this computer) is
displayed.

thanks

nagehan pala


>From: Lewis Walker <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: [EMAIL PROTECTED] 
>Subject: Re: [JAVA3D] killing picking
>Date: Mon, 4 Aug 2003 15:51:32 +0100
>
>Maybe this is an annoying or naiive question, but..
>
>Why not just have a singleton behaviour class?
>
>Lewis.
>
>-----Original Message-----
>From: Discussion list for Java 3D API
>[mailto:[EMAIL PROTECTED] On Behalf Of nagehan pala
>Sent: 04 August 2003 15:21
>To: [EMAIL PROTECTED] 
>Subject: [JAVA3D] killing picking
>
>
>hi all
>
>my program has different shapes and different behavior classes.The
>wakeup condition of these behavior classes is MOUSE_CLICKED. When you
>click the mouse, all of them are worked, as it expected.
>
>I want to ask a question, is there any way to stop this
>"furthering"?Only one of them should work and should stop the other
>picking behaviors "for only this click"(not the other clicks)
>
>thanks
>
>nagehan pala
>
>_________________________________________________________________
>MSN 8 with e-mail virus protection service: 2 months FREE*
>http://join.msn.com/?page=features/virus 
>
>========================================================================
>===
>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".

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus 

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

Reply via email to