Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question ARPlacementInteractable and ARAnchors

Discussion in 'AR' started by beatdesign, Jun 9, 2021.

  1. beatdesign

    beatdesign

    Joined:
    Apr 3, 2015
    Posts:
    137
    Hello,
    in the Interactions.scene, which is a demo scene from https://github.com/Unity-Technologies/arfoundation-samples/tree/4.1, ARPlacementInteractable place an interactable cube on detected planes, and puts them in the hierarchy under ARSessionOrigin/Trackables/PlacementAnchor. The GameObject PlacementAnchor doesn't have an ARAnchor component, and also ARSessionOrigin doesn't have an ARAnchorManager.
    From the documentation, I read that if you want to place an obj on a plane and track it, you should use ARAnchors.
    Is this an error?

    Thanks