PDA

View Full Version : Rotation values and spinner


namoi
06-25-2007, 03:08 PM
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

namoi
06-25-2007, 03:29 PM
Sorry, i didn't dig enough. Just had to use something like this :

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

CGTalk Moderation
06-25-2007, 03:29 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.