Create a 2D and 3D compass in Unity
Calculate the bearing angle between 2 GPS Points
00:00 - Intro
00:15 - Canvas and Assets
02:15 - GPS Compass Script
03:20 - True North and Magnetic North
03:40 - Enable Compass
04:54 - Transform 2d and 3d Compass
06:06 - Get Distance and Bearing
08:42 - Initial Test
09:14 - Test on Android
Code:
https://github.com/TemporalCoder/UnityAR
GPS Distance
https://www.geodatasource.com/resources/tutorials/how-to-calculate-the-distance-between-2-locations-using-c/