View Full Version : Calculate distance between 2 vectors?

10 October 2011, 02:23 AM
I know how to do it the long way. I'm just wondering if MEL has a command that can do it for me and I just give it the 2 vectors as arguments.

10 October 2011, 03:05 AM
You need to subtract those two vectors and use mag command to get the length of resulting vector.

10 October 2011, 03:13 AM
Ah, much better solution than what I was thinking I would have to do. Thanks!

CGTalk Moderation
10 October 2011, 03:13 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.