Search Unity

Question How to guarantee that floor is not a chosen plane?

Discussion in 'Unity MARS' started by Katerpilet, Jan 11, 2022.

  1. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87
    I currently have a proxy that is for plane finding that has a Height Above Floor condition of ideal height 1.5 and range from ideal height as 2, as well as a Semantic Tag Condition of exclude on floor and planes still continue to be generated for the floor plane. Is there a different condition I should be using?

    I'm seeing this happen on an iPhone 13 Pro
     
  2. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87
    Pinging on this
     
  3. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    199
    I just tested this and it's working for me. Here are the conditions I had set up:
    upload_2022-1-25_14-0-11.png

    I notice that the range you set on the height condition can include the floor itself (2 being greater than the ideal height of 1.5). And MARS's logic to identify the floor requires multiple planes to have been found so if you have only found one plane initially (i.e. the floor) it won't yet have been tagged as the floor and so not excluded.
     
  4. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87
    Thank you! This fixed my issue.