#the user rotation will always change, as

1 messages · Page 1 of 1 (latest)

wanton breach
#

We will mainly be tracking the user's location from QR codes around the area, but our issue is what if the user's phone is tilted and because it is tilted it will affect the navigation and not become accurate. We are developing for IOS and Android

near condor
#

So for iOS at least, you could use worldmap and anchors to keep track of the position of the scanned qr codes. But just tilting the phone should not do anything to your object, unless you are manually positioning it and doing something wrong in that part. But without actual code, its hard to debug for us here

wanton breach
#

Yes we are aware of this, however again, our issue is getting the exact location WITH the rotation of the user, because our case may include multiple floors. How can I get the exact position of the user according to true north, can't seem to find a solution for this anywhere

near condor
#

Even if you could get north from GPS / accelerometer, it would be still quite off in most cases, I bet. You for sure want to introduce some markers, that will reestablish your AR origin, otherwise you could also run into the angle effect. Another technique you could look into are bluetooth beacons, to at least know where you are approximately and then maybe use triangulation to get the correct direction

wanton breach
#

okay I see, so I can conclude that there is no solution that lies in the phone's built in parts. Anyway thank you for your input on this!