Hi, You can learn about "gimbal lock": http://www.anticz.com/eularqua.htm
You should use axis-angle or quaternion insted of Euler-angle (method you use now) representation. Ivan -----Original Message----- From: ext Bhargavi Devi Sura [mailto:bhargavi@;ERC.MSSTATE.EDU] Sent: Monday, November 11, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] rotating without axis flipping Hi, I want to rotate my object along x and y axis. I have written my own class to do this. But the problem is when I rotate 90 degrees along x axis, z axis becomes y axis. Next time when I rotate along Y, it looks like I am rotating along Z. How can I rotate without flipping the axis? Any sample code will be helpful to me as I am new to java3d. Thanks, Bhargavi =========================================================================== 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".
