Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question ARCore Indoor Navigation Rotation Problem

Discussion in 'AR' started by Geedo_, Sep 8, 2021.

  1. Geedo_

    Geedo_

    Joined:
    Aug 27, 2021
    Posts:
    2
    I'm trying to make an Indoor Navigation app using ARCore. The aim of the program is to scan an QR code and place our player, synchronize our player's coordinates with real world and Unity world and navigates our player to the destination. The problem is when I try to scan the QR code from a different angle, the program rotates the unity world and that causes the path I generate go through the walls. What should I try to solve this problem?
     
    bskozkr likes this.
  2. bskozkr

    bskozkr

    Joined:
    Sep 7, 2021
    Posts:
    1
    I also have the same problem. Is it possible to find a solution for that?
     
  3. KirillKuzyk

    KirillKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    959
    To be able to restore the coordinate space, you have to use a re-localization technique, like 'ARKit World Map' or 'ARCore Cloud Anchors. Without a re-localization solution, native AR providers will use a different coordinate space each time your launch an AR session. This is why orientations don't match on two devices.
    https://forum.unity.com/threads/set-ar-session-origin.1137070/#post-7348127
    https://forum.unity.com/threads/is-...ldings-in-my-local-area.1006405/#post-6527636
     
    Geedo_ and bskozkr like this.
  4. Geedo_

    Geedo_

    Joined:
    Aug 27, 2021
    Posts:
    2
    Thank you for your comment! I will look into it!
     
  5. dungpham12399

    dungpham12399

    Joined:
    Aug 10, 2021
    Posts:
    11