Radius around GPS location

Hi,
I’m using the GPS on Android/iOS to find the players location and want content to show based on where they are. However, rather than putting a pair of very specific lat and long numbers, I want it to work if they are within a certain radius of a centre point, for example:

If the player is at ‘this’ GPS location or within a 10 meter radius, do something.

Can anyone point me in the right direction please?

Hello,

I’m not exactly sure what you want to do but there is a few ways to do this (If i understood well).
-If you want the radius to be an Ingame radius, you can just use Physics.OverlapSphere or Physics2d.OverlapCircle depending on your game to see if a player is within a radius of a specific point.

-If you want to compute the actual real world distance, you can use something like this: math - Calculate distance between 2 GPS coordinates - Stack Overflow to compute it.