Notifications
Clear all

[Closed] Rotation Controller

 JHN

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

You’ve found the magic formula!! Works perfectly!

Many many thanks

Page 2 / 2