Similar to 2D. Add the squares of the difference in distances in x, y, z. Then take the square root of the result.
(Dx*Dx+Dy*Dy+Dz*Dz)^.5
(Dx*Dx+Dy*Dy+Dz*Dz)^.5
The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.