Rotation in 3D
Can anyone tell me how I can rotate in 3D such that when I rotate in each of the x,y,z,axis, the object rotates about the original axis rather than the rotated axis.
I am uisng the code
Only rotation about the z-axis works because presumably it is the first rotation operation that is carried out.
When I subsequently rotate about the x or y axis after some rotation about the z axis, the rotation occurs does not behave as I require. Many thanks for your forthcoming help.