Notifications
Clear all
[Closed] rotation values in a script controller?
Jan 23, 2007 12:54 am
let’s say i have a sphere with a script controller on it’s x rotation. if i set the script to evaluate to 0.0, the sphere’s x rotation will be 0.0.
if i have the script evaluate to .25 the sphere’s x rotation will be 14.3239. i’m not getting the relation between the script value and the actual rotation value.
help?
btw – the sphere’s rotation has been zero’ed out with a list controller. the script controller is on the second layer (“Animation”). i check these values like this…
Xrot = $Sphere01.rotation.controller[#Animation].x_rotation
XrotScriptVal = $Sphere01.rotation.controller[#Animation].x_rotation.controller.value
thx,
steev
1 Reply
Jan 23, 2007 12:54 am
just figured it out…
a rotation script value gets converted to degrees…
ie:
radToDeg .25 = 14.3239