Re: Formula for calculating the distance between points on a coordinate gr
Pythagorean theorem.
d = sqrt(dx^2 + dy^2 + dz^2)
If you have points or vectors or lines as library objects, they probably have methods for this. For example, in BGT, you can just do this:
d=(p2-p1).length();
Where p1 and p2 are vectors pointing to the coordinates in question.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector