This is a prototype for a mobile geolocation app developed in Unity. The app generates a point of interest (gps coordinates) 200m away from the user. It displays the direction to the point with an arrow (like a compass) and vibrates when the user arrives within 10m from the point.
In the Editor, you can change the value of these variables:
For the GPS script (attached to the GPS component)
isMagneticNorth: Use the Magnetic North if checked.NewCoordinatesDistance: Upon's app initialization, spawn the new coordinates at specified distance (in meters).
For the UI script (attached to the Canvas component)
distanceThreshold: Notifies the user when he is at the specified distance (in meters) or less from the target location.numberOfDecimals: Number of decimals displayed for GPS coordinates
Available on the dev branch.
The .apk file is provided at the root.
Available on the dev-macos branch.
The Unity-Iphone.xcodeproj and all related files are provided in the /build_macos folder.
To compute GPS coordinates-related info, these references were used.