Search Unity

Help Wanted Creating a Custom AR plane to Instantiate Objects

Discussion in 'AR' started by Sakuwwz, Sep 23, 2021.

  1. Sakuwwz

    Sakuwwz

    Joined:
    Nov 5, 2018
    Posts:
    37
    Hi,
    I'm trying to create a custom plane on a detected plane vertically based between 2 selected points in the floor. After initializing the vertical plane, I want to instantiate game objects only on that plane. I have tried spawn objects using AR raycast hit with a collider and checking the tag but no luck.

    Does anyone who can help me to solve this issue?

    upload_2021-9-23_12-4-15.png
    Thanks
     
  2. Sakuwwz

    Sakuwwz

    Joined:
    Nov 5, 2018
    Posts:
    37
    Anyone?
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,699
    The devs recommend that you do a physics raycast instead of AR Raycast against virtual game objects i.e. vertical plane.
     
unityunity