Notifications
Clear all
[Closed] evaluate angle with mxs
Mar 02, 2011 10:01 am
I would like to evaluate the angle between the local z-axis and the world z-axis via MaxScript,
without the use of a ExposeTransform helper.
Any ideas would be much appreciated.
2 Replies
Mar 02, 2011 10:01 am
The most basic way would be acos(dot [0,0,1] $.dir) – you can look up How to find angle between two vectors in maxscript helpfile.
EDIT: it’s in Maxscript FAQ > Working with vectors > How do I find the angle between 3 vertices?