mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

heading can not be found in \Unity\Location\DeviceLocationProvider.cs

Open chenaptx opened this issue 7 years ago • 2 comments

Note: If this is a bug or support ticket, please provide the following information:

  • Unity version:
    • Scripting Runtime Version:
    • Scripting Backend: .Net
    • Api Compatibility Level:
  • Mapbox SDK version: latest mapbox-unity-sdk_v2.0.0
  • The platform you're building to: hololens
  • A description of what you're trying to do: build the project to visual studio
  • Steps to recreate the bug if appropriate: import and build
  • Links to your logs are also helpful: "heaing" is undefined it seems that in line 320 // +90.0 to make top (north) 0? double heading = (Math.Atan2(latDiff, lngDiff) * 180.0 / Math.PI) + 90.0f;

the definition of double heading is wrongly disabled

chenaptx avatar Jan 26 '19 10:01 chenaptx

what do you want to do exactly , is it a location based game of type of Pokemon Go ? Give us more details about your work or see location based game or astronaute game examples ; they will help you to detect the problem The mapbox tutorial of PocketDroids game is also very helpful https://www.youtube.com/watch?v=RhG1kfDBhgM&list=PL86WBCjNmqh4bDQycScKKlP0ETkjo39gG

roura-12 avatar Feb 01 '19 10:02 roura-12

Please re-open or email us at [email protected] if you need any additional help.

jordy-isaac avatar Feb 06 '19 16:02 jordy-isaac