Latitude and longitude question

Hello,

I’m using Unity3D’s location services to get your phone’s current latitude and longitude. I would like to have a 1:1 scale, in meters, for the game world. Therefore if I walked 3 meters in real life, I would move 3 unity units.

I’m having difficulty doing this. Would I need to get a algorithm that captures the distance from lat and lat, move the x value. Then do the same with longitude and z? Perhaps the slope between geopoint 2 and geopoint 2

Could somebody help point me in the right direction

Latitude is fairly simple. There is a straight line relationship between latitude and distance, that’s consistent everywhere except the poles.

Longitude is more complex, as it is dependent on the latitude.

Google seems to bring up a few equations that will do the job. Here is one that looks promising.
http://www.movable-type.co.uk/scripts/latlong.html