Topic: How to get distance from camera to long/lat

Helllo,
is it possible to get the distance from the camera to some point (with elevation)?
Many thanks!

Re: How to get distance from camera to long/lat

Hello.

float distance = (yourCamera.transform.position - somePointWithElevation).magnitude;