PDA

View Full Version : Calculate distance between 2 vectors?


KingCrizzo
10-20-2011, 03: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.

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

KingCrizzo
10-20-2011, 04:13 AM
Ah, much better solution than what I was thinking I would have to do. Thanks!

CGTalk Moderation
10-20-2011, 04: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.