Malkalypse
01-27-2008, 05:56 PM
I am really not sure what Max uses to come up with the numbers in the Rotate Transform Type-In box. They seem to be a real pain generally, constantly flipping back and forth between positive and negative XYZ values, but I had always assumed that they matched the values gotten with $.rotation.(x/y/z)_rotation.
However, I have just discovered that this is not always the case. I am looking at an object with the following transform data shown in maxscript:
...x_rotation = 92
...y_rotation = 89
...z_rotation = 91
However, the values in the Type-In box are flipped, showing
X: -88
Y: 91
Z: -89
So I have two related questions:
1) How does MAX arrive at the values shown in the Rotate Transform Type-In box?
2) How do I get MAXScript to show me the same values?
However, I have just discovered that this is not always the case. I am looking at an object with the following transform data shown in maxscript:
...x_rotation = 92
...y_rotation = 89
...z_rotation = 91
However, the values in the Type-In box are flipped, showing
X: -88
Y: 91
Z: -89
So I have two related questions:
1) How does MAX arrive at the values shown in the Rotate Transform Type-In box?
2) How do I get MAXScript to show me the same values?
