It's easier to derive a class straight from the behaviour class rather than
use the mousebehaviour class as it seems to be over-cluttered with extra
stuff.

Simply instruct the class to wake up on the awt mouse event which you wish
to handle inside the initialise func.

Then handle the event in the processStimulus func.

check out the Java tutorials for some info or look at the picking example
which is in the demos/Java3d folder installed when J3d is installed.

It's easy when you know how...



----- Original Message -----
From: Bernard Choi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 1999 5:55 PM
Subject: [JAVA3D] MouseBehavior


> I'm having some problems understanding how a MouseBehavior works.
>
> I'd like to write my own MouseBehavior class with extends the current
> MouseBehavior. Could anyone please point me to any tutorials or samples ?
> Thanx a lot in advance.
>
>
===========================================================================
> 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