Search Unity

Navmesh Baking For Multiple Levels

Discussion in 'Navigation' started by valter-home, Apr 10, 2019.

  1. valter-home

    valter-home

    Joined:
    Sep 22, 2015
    Posts:
    115
    I am faced with a problem for which I know that a solution exists but as far as I have tried I cannot find the answer.
    I have this set of floor planes:



    When I bake them I get this navmesh as a result:



    The upper floor does not allow the navmesh to be created on the area below.
    How can I solve it?
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    I tried to reproduce your problem and the only case I could was if the space between the two platforms was simply too low for a NavMeshAgent to move between them. Please make sure everything is built to the correct size and that your Agent's height corresponds to the height you want.
     
    valter-home likes this.
  3. valter-home

    valter-home

    Joined:
    Sep 22, 2015
    Posts:
    115
    Sorry Yandalf, you're right. It was Agent Height too high.
    Thank you for your support.
     
    Yandalf likes this.