Search Unity

Carve Navigation Area dynamically

Discussion in 'Navigation' started by Gekigengar, Feb 13, 2020.

  1. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    444
    I need help in finding a way to implement how to carve navigation area dynamically on the NavMesh.
    Essentially, just like Nav Mesh Obstacle, but instead of making holes, it carves area without changing the shape of the NavMesh.

    I need this for dynamic threats that the agent should avoid.
     
  2. Ne0mega

    Ne0mega

    Joined:
    Feb 18, 2018
    Posts:
    299
    Gekigengar likes this.
  3. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    444
    I find it strange that this is not included by default.
    Thank you, I will look into it!
     
  4. marijnz

    marijnz

    Joined:
    Sep 20, 2012
    Posts:
    53
    @Gekigengar note that the NavMeshComponents use the runtime baking API, it's not anything like the carving of obstacles and a lot heavier.
     
unityunity