We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
An rotating problem (Read 652 times)
An rotating problem
Apr 8th, 2009, 7:47pm
 
I encountered a problem--when I tried to move the cursor to every direction to rotate a cube,it behaves queerly when the X axis is moved around over some times of HALF_PI ,and I think it's due to the restriction of  coordinate transformation by stacking "rotateX" and "rotateY" in order  .How to make it rotate with more reality?Have "hacking processing" covered such problem?Thank you for reading and replying.
Re: An rotating problem
Reply #1 - Apr 9th, 2009, 7:49am
 
I've found the peasycam library to be a great way to get the mouse and camera system up and running.

http://mrfeinberg.com/peasycam/
Page Index Toggle Pages: 1