Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AR Foundation Scale of ARSessionOrigin Challenges and Best Practice

Discussion in 'AR' started by KnewK, Mar 20, 2020.

  1. KnewK

    KnewK

    Joined:
    Sep 2, 2012
    Posts:
    19
    I have found that having ARSessionOrigin scale of 10 to compensate for object size of 1m tends to effect the plane, anchor, point cloud, stability and error (esp on Android) so needs to be reduced to ARSessionOrigin of 1.

    I have noticed that with AR Foundation ARSessionOrigin scale of 1 that objects have to be reduced in size by 10 to be useful (1m objects need to become 0.1m objects). This has challenges as I have built my AR at ARSessionOrigin scale of 10. E.g. gravity, physics, particles at this smaller scale.

    All my objects have to be to be re-scaled down by 10 so I am interested in discovering:
    • Why does AR Foundation does not use a scale of 1m to ARSessionOrgin of 1. Why 0.1m
    • Guidelines for scaling down objects.
    • Local gravity for smaller rigid bodies.
    • How to scale particles down without loosing anything.
    • How to scale force, impulse and explosions down without loosing anything.
     
    makaka-org likes this.
  2. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    975
    Last edited: Mar 31, 2021
    KyryloKuzyk likes this.
  3. dogsaregreat

    dogsaregreat

    Joined:
    Sep 5, 2018
    Posts:
    21
    Does this also apply in situations where objects are placed on a LiDAR meshed environment?

    For example, i have objects placed in the meshed environment and i want to scale 1 objects while keeping the rest intact.
     
  4. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    975
    @KirillKuzyk has experience with LiDAR when Meshing in his Unity Asset.