amv256
10-21-2007, 12:37 AM
I've been writing a simple script for rotating a box around different axes to test an idea and have run into a strange problem. It seems that the box's rotation.y_rotation property can't be incremented beyond +- 90 degrees. If I attempt to do so, the amount by which I'm incrementing is instead subtracted.
So, for example, if I'm adding a series of keyframes to the box, wherein each keyframe increments y_rotation by 2 degrees, I might see this pattern:
...
y_rotation = 84
y_rotation = 86
y_rotation = 88
y_rotation = 90
y_rotation = 88
y_rotation = 90
y_rotation = 88
y_rotation = 90
...
This doesn't happen with x_rotation or z_rotation.
Any ideas what's going on? I've been testing this for the last couple hours from all angles and can't figure out what it is. The help reference doesn't seem to have anything to say about this either (nor does Google).
So, for example, if I'm adding a series of keyframes to the box, wherein each keyframe increments y_rotation by 2 degrees, I might see this pattern:
...
y_rotation = 84
y_rotation = 86
y_rotation = 88
y_rotation = 90
y_rotation = 88
y_rotation = 90
y_rotation = 88
y_rotation = 90
...
This doesn't happen with x_rotation or z_rotation.
Any ideas what's going on? I've been testing this for the last couple hours from all angles and can't figure out what it is. The help reference doesn't seem to have anything to say about this either (nor does Google).
