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

NavMesh,Cube is stuck.

Discussion in 'Navigation' started by walldoge, Jul 28, 2020.

  1. walldoge

    walldoge

    Joined:
    Jul 13, 2020
    Posts:
    6
    Hi!
    Im doing a maze-game where I have created a box that is following you that is going to be the enemy.
    As it is right now it is following me around but is gets stuck in the maze when it is trying to move through the walls that I have placed out.

    Im new to Unity so all help is appricited.
    / Walldoge

    P.S I added some pictures for better understanding what im doing wrong ;D
     

    Attached Files:

  2. mgrekt

    mgrekt

    Joined:
    Jun 22, 2019
    Posts:
    92
    You have to bake it every time you add a new obstacle or else it'd show that the AI can move through that area.