Search Unity

Other Why bother with anchors if I can place a GO at world coordinates?

Discussion in 'AR' started by DonnyC1962, Apr 26, 2022.

  1. DonnyC1962

    DonnyC1962

    Joined:
    Feb 15, 2022
    Posts:
    19
    What is the purpose of anchors if I can place an object at world coordinates? Is it that the gyro is not that accurate over distance/time - and the use of anchors helps to associate a real world object with the position of a game object?
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    AR Foundation (and Unity world space) exists on top of your provider's native session, and its own session space. As your device moves around, your provider (ARKit, ARCore, etc) might update the session space as its understanding grows. Using anchors allows you to ground Unity GameObjects to the session space, so that these GameObjects can be updated accordingly.
     
    fuzzy3d likes this.