Notifications
Clear all
[Closed] Rotation Controller
Page 2 / 2
Prev
Dec 27, 2008 2:46 pm
Alright seems like I made a wrong claim about the controller input values, the output you get from x_rotation are in degrees, but the input from the rotation script is expected in radians (180/pi (roughly) = 57.2958 degrees) so what this means is that you need to convert the incoming degrees to radians, luckily maxscript has a build in function for this:
degToRad tracker.rotation.z_rotation
Why it exactly needs radians and not degrees I don’t know, maybe someone else can answer that, build it probably has something to do with how the transform matrix expects it’s input.
Cheers,
-Johan
Page 2 / 2
Prev