Search Unity

Resolved How to adjust position and rotation?

Discussion in 'AR' started by cnwy, Oct 31, 2020.

  1. cnwy

    cnwy

    Joined:
    Oct 2, 2020
    Posts:
    2
    I'd like to do some minor adjustments like position or rotation to get a better matching.
    1. Using SessionOrigin.MakeContentAppearAt(...));
    2. Update Model's transform;
    Which one should I use? Or any other suggestion?

    Thanks a lot.
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,144
    Using SessionOrigin.MakeContentAppearAt() is less error-prone. This way you will never have problems with scaling your AR scene or encountering bugs related to changed object positions.
    For example, you have an existing app with real-world scale objects, and you want to add AR into it, it's much easier to use SessionOrigin.MakeContentAppearAt() and scale your ARSessionOrigin.