Search Unity

Question AR scaling session origin with 1 object exception

Discussion in 'AR' started by patrs63, Dec 2, 2021.

  1. patrs63

    patrs63

    Joined:
    Apr 15, 2020
    Posts:
    1
    Hey, guys I'm using AR session origin scaling in order to scale my AR scene so the user can better adjust the scene to his environment , but I have one object that is made to fit a real world scale , so i don't want to get scaled at all or get affected by the AR session origin scaling , is there a way to do that ?
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,144
    You can inverse the scale of this particular object. For example, if the session scale is 2, then you should set the scale of your object to 1/2. This way, the perceived scale of your object will be equal to the real-world scale.