Search Unity

Scaling ARKit Session - How To

Discussion in 'AR' started by KrikeyAdmin, Mar 18, 2019.

  1. KrikeyAdmin

    KrikeyAdmin

    Joined:
    Feb 5, 2018
    Posts:
    29
    Previously I was using ARFoundation which allowed me to scale the entire ARSession. How can I accomplish the same when using purely only the ARKit unity plugin?

    I'm needing to enlarge my GameObjects in general for NavMesh purposes, but then I need to visually shrink them down so they will fit in my AR ground plane spaces.

    Any help would be appreciated!
     
  2. KrikeyAdmin

    KrikeyAdmin

    Joined:
    Feb 5, 2018
    Posts:
    29
    In case this helps anyone else, I found this blog post: https://blogs.unity3d.com/2017/11/16/dealing-with-scale-in-ar/

    The problem being that its very outdated now and uses some "ARInterface" example code which again is outdated. I'm needing to use ARKit 2.0 which is incompatible with this example code. Unity appears to be all in on ARFoundation so you are out of luck if trying to support only ARKit without ARFoundation.