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

Resolved Use ARPlanes to determine wall direction

Discussion in 'AR' started by eco_bach, Feb 7, 2021.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Can someone tell me, is there some way to cast ARPlanes on the 4 walls of a room and then somehow distinguish which wall is which by the direction the ARPlanes are facing?
    Is there some sort of 'direction' property associated with ARPlanes?
     
  2. FrankvHoof

    FrankvHoof

    Joined:
    Nov 3, 2014
    Posts:
    258
    ARPlanes have a normal. This is the 'up'-direction for their transform.
     
    KyryloKuzyk likes this.