[This entry was updated in Feb 11, 2015 ] [Initial post date: Apr 28, 2012] This tutorial is about creating and compiling your own Unity GPS Plugin for Android. I wrote this tutorial in order to help those who are getting angry and fed up with missing information about the process of writing their own Unity Android plugin.

My motivation was to get real speed values out of the GPS of my device, because the inbuilt Unity Input.location functions returned only latitude and longitude values that where (now that we’ve solved the problem I can assume that ) only computed on network basis and not on the data provided by the inbuilt GPS receiver (http://forum.unity3d.com/threads/132587-GPS-Input.Location-accuracy-question). This was pretty annoying so I decided to write my own GPS Plugin for Android.

Retrouvez la version française de ce tutoriel à l’adresse suivante : http://www.unity3d-france.com/unity/2012/creation-dun-plugin-gps-pour-unity-par-matthieu-deru/

More >