That's the classical example of a "gimbal lock". Try to use setEuler methods
in Transform3D (it works for me!). Or search the net for solutions. Or
search the list archive. The ideea is that you should not change the
reference system.

Cheers,

Florin

-----Urspr�ngliche Nachricht-----
Von: Bhargavi Devi Sura [mailto:bhargavi@;ERC.MSSTATE.EDU]
Gesendet: Montag, 11. November 2002 15:14
An: [EMAIL PROTECTED]
Betreff: [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".

Reply via email to