What u need to do is:-
Add a wakeup criterian for Mouse moved
new WakeupOnAWTEvent( MouseEvent.MOUSE_MOVED )
And on each mouse over message check if the mouse is over the desired object, if yes
then launch an Alpha RotationInterpolator. and stop the Interpolator when its not on
the object
Ahmed
-----Original Message-----
From: Kyle McDonald [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 5:16 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] MouseRotate?
Hi,
I've just been looking at the MouseRotate Behavior class.
I'm not sure this is what I'm looking for. I'd like to have
an object start rotating on it's own when ever the mouse
pointer is on that object.
From looking at the MouseBehavior family of classes it
seems that they are mainly designed to let the user
do things to the objects using the mouse.
I basically just want the object to be like a button that
I can watch to see if the user clicks on it, but I'd
like the object to start spinning when ever the user moves
the mouse pointer on it.
Any ideas?
-Kyle
--
_
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald (o o) Systems Support Engineer
Sun Microsystems Inc. |||||
High End Server Engineering [EMAIL PROTECTED]
1 Network Drive BURL03-403 \\\// voice: (781) 442-2184
Burlington, MA 01803 (o o) fax: (781) 442-1646
-------------------------------ooO(_)Ooo-------------------------------
===========================================================================
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".