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

How to create obstacles with navmeshcomponents

Discussion in 'Navigation' started by dienat, Feb 3, 2019.

  1. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    I am creating the navmesh at runtime with navmeshcomponents but it doesnt have obstacles, if i set the foor and there are columns those columns are ignored and the enemies just go through them, i can use navmeshobstacles but i have to add the script to every object, is that the only solutions or i am missing something
     
  2. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    i already solved it, just had to add the columns as another object for the navmesh
     
    Broweb likes this.