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;
Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!