Python with Mel : angleBetween

cmds.angleBetween( euler=True, vector1, vector2)

returns 3 Euler angles. (rx,ry,rz)

ex.

cmds.angleBetween( euler=True, v1=(0.0, 1.0, 2.0), v2=(1.0, 2.0, 0.0) )

# Result: -0.8728716 0.4364358 -0.2182179 66.421822 #

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *