Search Unity

Question Place object in suitable space

Discussion in 'AR' started by RGB99, Jul 3, 2021.

  1. RGB99

    RGB99

    Joined:
    Apr 17, 2019
    Posts:
    1
    hi guys
    I'm learning about AR in unity several days ago
    and I have a question

    How do I spawn object if only a suitable space is available?

    for example:
    if the player try to spawn a big object in small place i give him an alert to find a bigger space

    I'm using Unity 2019.4

    Versions:
    "com.unity.xr.arcore": "2.1.11",
    "com.unity.xr.arfoundation": "2.1.18",
    "com.unity.xr.arkit": "2.1.9",
    "com.unity.xr.management": "3.2.16",