OK, I figured out how to key on mouse movement (w/o buttons pressed), I was using MOUSE_DRAGGED rather than MOUSE_MOVED. Still curious how the individual buttons are bound to MouseRotate, MouseZoom and MouseTranslate. Thanks, -Gary [EMAIL PROTECTED] on 03/03/99 01:43:45 PM To: [EMAIL PROTECTED] cc: (bcc: Gary Moss/arl) Subject: [java3d] Button bindings in MouseBehavior Hello (those of you who want to be here like me), Can anyone tell me where in MouseBehavior or its extensions (MouseRotate, MouseZoom or MouseTranslate) the mouse buttons are selected for? I would like to extend Behavior or MouseBehavior to implement a behavior for the mouse such that mouse movement rotates the view. I 'm having a couple of problems understanding MouseBehavior with respect to mouse button binding and lack thereof. For instance, can I detect mouse motion, without any buttons pressed, or failing that, bind view rotation to the middle button (button 3). If any of you are familiar with "free look" option of QuakeII, that's what I'm trying to achieve. It seems as though MouseBehavior.processStimulus() is not triggered w/o a button press. Thanks for any help or references, -Gary ===================================================================== To subscribe/unsubscribe, send mail to [EMAIL PROTECTED] Java 3D Home Page: http://java.sun.com/products/java-media/3D/ ===================================================================== To subscribe/unsubscribe, send mail to [EMAIL PROTECTED] Java 3D Home Page: http://java.sun.com/products/java-media/3D/
