Search Unity

Question NavMesh not baking under the cube

Discussion in 'Navigation' started by vuyanimondlibuthelezi, Feb 20, 2023.

  1. vuyanimondlibuthelezi

    vuyanimondlibuthelezi

    Joined:
    Jan 17, 2023
    Posts:
    1
    Hi guys, I have been trying to make my app navigate from a sphere to a cube but when I bake the Navmesh it is not baking under the cube

    upload_2023-2-20_14-29-16.png

    upload_2023-2-20_14-30-20.png
     
  2. SF_FrankvHoof

    SF_FrankvHoof

    Joined:
    Apr 1, 2022
    Posts:
    780
    If your cube is an 'obstacle', NavMesh-generation will also take the height of the character into account.
    If your character (navmeshagent) is too tall to fit under the cube, it won't generate navmesh there.