I have a problem using MouseRotate, when I use it, I do not know around
which point it is rotating if I hold on the mouse left button, the object
rotates without my control,sometimes, it is out of the screen, it is better
to assign a fixed point around which the object rotates. How can I setup the
rotation point to a fixed position,so that the object will rotate around
that point?
The following is part of the code I used:
MouseRotate behavior = new MouseRotate();
behavior.setTransformGroup(objTrans);
behavior.setFactor(0.001);
objTrans.addChild(behavior);
behavior.setSchedulingBounds(bounds);
Thanks.
David
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.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".