Forums › Adobe After Effects Expressions › expressions: Convert slider range into 0-360 degrees ?
-
expressions: Convert slider range into 0-360 degrees ?
-
Andy Stokes
May 19, 2005 at 2:23 amHi all,
Can anyone tell me the string to convert from say 1-10 of a slider value into degrees of rotation (i.e : 0 – 360). 1 being one full rotation, 2 being 2 rotations etc…
Thx,
Andy
-
Colin Braley
May 19, 2005 at 2:32 amI’m not sure if i’m understanding you’r question…So you are trying to convert the slider’s values so that 1 on the slider is 360 degrees? If so you should just pick whip the rotation value to the slider and then add * 360 on the end.
~Colin -
Andy Stokes
May 19, 2005 at 2:38 amHi Colin,
THanks for pointing out the obvious…. Sometimes I make things more complicated than they need be..
Cheers,
Andy
-
Steve Roberts
May 19, 2005 at 2:44 amI guess you can’t use the “angle” expression control?
Steve
-
Mike Clasby
May 19, 2005 at 3:10 amCan’t you just right click the slider numbers (then select > edit Value, from the drop down)in the Effect Control Window (F3) and change the slider range to 0-360? Is that what you want?
-
Mike Clasby
May 19, 2005 at 5:05 amMy mistake. I’m with Steve Roberts, check out the “Angle Control” instead of slider.
Log in to reply.