Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad orientation Location Based Game #1363

Open
Roadiesm opened this issue May 13, 2019 · 2 comments
Open

Bad orientation Location Based Game #1363

Roadiesm opened this issue May 13, 2019 · 2 comments

Comments

@Roadiesm
Copy link

Roadiesm commented May 13, 2019

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

  • Unity version: 2018.3.12f1
  • Mapbox SDK version: 2.0.0
  • The platform you're building to: Android

Hi, I've a problem with the "Location Based Game" prefab.
The GPS positionnal tracking is good but not the orientation. It's look's that the orientation is ok with north and south but not with east and west (this is flipped).
I've tried on Samsung Galaxy S8 and Samsung Galaxy S2.
I've tried to enable and disable the custom Mapbox android plugin.
I've tried to just import Mapbox SDK in a new project and build but same way ...
Do you have a solution for this?

Thank you,
Cordially. (sorry for my bad english).

@brnkhy
Copy link
Contributor

brnkhy commented Jul 1, 2019

@atripathi-mb @jordy-isaac

@abhishektrip
Copy link
Contributor

@Roadiesm The SDK uses the orientation that the device reports as-is, without modifications. Device compasses often need calibration to report correct headings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants