Log in or register to post comments

Prevent Device Tracker from recentering

April 24, 2017 - 2:38am #1

Hi. My app has both vision-based and geolocations-based AR. For geolocations part, the user can use there phone's camera to look around and see virtual objects overlaid over real world, tied to GPS coordinates. The objects are big, so GPS precision works fine. I have my script to track device's orientation using gyro  magnetometer, but Vuforia's Device Tracker seems to be smoother and more accurate. The only problem is that it automatically recenters it's orientation on launch instead of being relative to real-world coordinate.

I saw an in an article about native development that you can access Recenter Mode that is responsible for this behavior, but found no information about how to do it within Unity plugin. Obviously there can be some workarounds, like e.g. parenting the rest of the scene to an object that would rotate in y axis usign magnetometer in order to compensate for Device Tracker's deviation from North direction, but I would really like to avoid this.

In Unity plugin, is it possible to prevent the Device Tracker from recentering and make its orientation always relative to real world? Thank you.

Prevent Device Tracker from recentering

June 7, 2018 - 11:46pm #2

Your post is relative old, have you found a solution for this? Or anyone know a solution? I'm also stuck on this.

Log in or register to post comments