Re: Formula for calculating the distance between points on a coordinate gr

2015-12-27 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
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

Re: Formula for calculating the distance between points on a coordinate gr

2015-12-27 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
Re: Formula for calculating the distance between points on a coordinate gr Hi,  Okay, I've managed to code this function. It's in pure basic but you should still be able to recognize the gist. SQR is the function for square root, POW is the function for exponential calculations, the 2nd

Formula for calculating the distance between points on a coordinate gr

2015-12-27 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
Formula for calculating the distance between points on a coordinate gr Hi,  Does anyone know a way to calculate the difference between two objects on an x, Y or X, Y, Z, grid? This isn't a specific language question, I simply request the formula if there is one so I can code a function