Notifications
Clear all

[Closed] Rotation values and spinner

Hi,

I’m trying to bind the Z rotation of a Free Camera to a spinner ranging from -100 to 100.
The -100 would be a 90° counterclockwise, the 0 would be the actual rotation in world coordinate of the Free Cam and the 100 value a 90° rotation clockwise.
I’ve tried with the Maxscript reference and some topics here, but i’m a little confuse with the use of quaternions.

Could someone give a hint.

Thanks

1 Reply

Sorry, i didn’t dig enough. Just had to use something like this :

on myspinner changed arg do
(
$.rotation.controller.Z_Rotation = arg
)