Hi, all
I built one house using Java3D and used the following code to add mouse beheviour to my TransformGroup (objScale) so that I can view the house from every angle using left mouse.
//create mouse beheviour
MouseRotate behavior = new MouseRotate();
behavior.setTransformGroup(objScale);
objScale.addChild(behavior);
behavior.setSchedulingBounds(bounds);
Now my trouble is, I do not want the users to see the bottom of the house, i.e., the users should be allowed to rotate the house at any angle about Y axis, and specific ranges of angle about X and Z axis. Are there any ways to specify the range of rotation angle about X and Z axis so that the users can only rotate the house within the specifed ranges using left mouse?
This is very important and urgent to me. Any help will be highly appreciated.
Gaoming
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".
