thanks for your help,
that helped, but it isn’t quite what im after
perhaps if i explain what i’m doing..
i want to have a series of graphical “reticals” in the HUD of a spaceship that act as guides as it lands; the camera passes through them one after the other in 3d space. i want each one to display a number that represents the distance from the space ship (the camera) to that point in space, hitting 0 at the moment that the camera ocupies the same coordinates. (nerdy i know)
so ideally i need to calculate a value representing the distance between the points irrespective of what axes that distance lies in.
is this rediculously complicated?
any help will be appreciated, thanks
alex