why rotationX is counterclockwise ,but the rotationY and rotationZ are clockwise?
rotationX,rotationY and rotationZ problemSoftware: Away3D 4.x |
||
|
||
theMightyAtom, Sr. Member
Posted: 04 August 2011 04:54 AM Total Posts: 669 [ # 1 ] Whether it’s clockwise or anti-clockwise depends upon your orientation, or in other words where you are looking from! Once you can see the result, is it not a question of writing a minus sign before your rotationX, to get it to function the way that’s logical to you? myObj.rotationX = -(someNumber); Good luck! |
||
David Lenaerts, Administrator
Posted: 05 August 2011 11:03 AM Total Posts: 80 [ # 2 ] Actually, they’re all counter-clockwise. You have to look in the direction of the coordinate system axes when judging the rotation direction (up for rotationY, into the screen for rotationZ, and towards the right for rotationX). |