Notifications
Clear all
[Closed] get value form eulerAngles
Oct 13, 2015 10:03 am
Hi everybody
is there a way in maxscript to get the value of an axis of rotation in a contrained object using this way:
theObject.rotation as eulerAngles
---- value returned ----
(eulerAngles 0 0 -32.9993) <== I would like to get the Z value
Thanks.
2 Replies
Oct 13, 2015 10:03 am
EulerAngles has x, y and z properties. You can get them as follow:
theAngle = theObject.rotation as eulerAngles
theAngle.x
theAngle.y
theAngle.z