Matrix3 rotation values >360
Dudes,
I am trying to create a matrix3 from a node's transform which has a rotation value that is more than 360 degrees (seen in the gimbal type-in). I need to use it for matrix math.
Problem : Accessing the node's transform matrix directly does not yield a value that reflects a rotation above 360 degrees. Wadaheo..
Check it out:
(
clearListener(); try(delete $myBox)catch()
myBox = Box length:50 width:50 height:50 name:"myBox"
myBox.rotation.controller[1].value = 720 -- Sets x rotation to 720
boxMatrix = myBox.transform
print (boxMatrix.rotation)
quatToEuler boxMatrix.rotation
)
Thanks for any help.
-Dru
Comments
With matrix math you simply
With matrix math you simply can't. Your gonna have to change your approach.
email: [email protected]
wow
no answer? I am having a similar problem and i´m getting some help from some guys... here´s the link
http://www.scriptspot.com/forums/3ds-max/general-scripting/rotation-scri...