   openGL rotation store
  I have what appears to be a very simple problem, I want to be able to rotate an object about the X and Z axis 90 degrees. I then want to be able to remember this rotation and rotate about the X and Z axis again, however, the only axis that remains in the same place is the X axis, the Z axis now points along the Y axis and the Y axis now the axis I would have to rotate about to get the effect of rotating on the Z. Does anybody know how I overcome this problem? I am already familliar with matrices but I cant seem to overcome the local coordinate system. 
  Sounds to me like a bad case of ''Gimbal Lock''. Google for it or search the article section over here. There should be a good article called ''Euler angles are evil''. After that, eigher learn martices or quaternions. I recommend quaternions are they are numerically more stable than matrices.   Sander Maréchal[Lone Wolves][Game Developers Emporium][E-mail][Hosting $7,95/mo][Forum FAQ][Google] ;  Thanks, I have gone for the quaternion option, it seems to be working ok. 