Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question AR Foundation 6 reticle hit test example?

Discussion in 'AR' started by newguy123, May 20, 2024.

  1. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,278
    Hi guys

    Anybody have a recent example of an AR Foundation 6 project that uses a reticle to display as a placeholder, that snapes to planes, then when you press 1 time, it places an object at the reticle in that world orientation, and hides the reticle and disables any further placement?

    Ie I just want to place a single object where the reticle was....
     
  2. AliceMUnity

    AliceMUnity

    Unity Technologies

    Joined:
    Feb 28, 2024
    Posts:
    11
    The official Anchor sample scene in the ARFoundations samples repo has behaviour similar to what you seek where an object is placed at a viewed location, although it does not have a preview reticle.
     
  3. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,278
    this user's great video sorted me: