hello there…
a easy question for ya…
how can i find a distance between 2 points…
i mean, (x1,y1,z1) to (x2,y2,z2) …
thanx in advance…
hello there…
a easy question for ya…
how can i find a distance between 2 points…
i mean, (x1,y1,z1) to (x2,y2,z2) …
thanx in advance…
Hey,
try :
distance = sqrt[ (x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2 ]
Hým good question but why did you ask?
if it is for collision detection please look at to my topic Bounding Spheres but walls?
thanks
regards