How to find distance between two points?
by Lee Latham · in Torque Game Engine · 02/07/2007 (7:11 pm) · 3 replies
I swear I've done a ton of searching on this, and it seems to elementary, but I just can't find it. Is there a function that will simply take two points and return a single floating point distance?
I find some old posts about vectorDistance, but it doesn't seem to be in there any more... :-(
Lee
I find some old posts about vectorDistance, but it doesn't seem to be in there any more... :-(
Lee
#2
I must have missed it when skimming over the other ones I don't understand. I've been looking around the net for a nice explanation of the others (I never got very far in math, but it doesn't seem TOO far out).
Thanks!
02/07/2007 (11:19 pm)
That did the trick!I must have missed it when skimming over the other ones I don't understand. I've been looking around the net for a nice explanation of the others (I never got very far in math, but it doesn't seem TOO far out).
Thanks!
#3
02/08/2007 (9:36 am)
That returns in Torque metres, right?
Torque Owner Tim Heldna
To directly answer your question: