Search Unity

NavMeshAgent Collisions Question?

Discussion in 'Navigation' started by enzoravo, Sep 19, 2017.

  1. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    hello i'm working on a game and i'm using the navmesh system to drive the ai of the game.

    i want to avoid the collision between all of my NavMeshObject, i know how to do this, just selecting on "Obstacle Avoidance Quality" to None; that works fine, i removed the collision between all the NavMeshAgents.

    The real issue is that i need the Obstacle Avoidance to None, to avoid the collision between the NavMeshAgents, but i need those agent to collide with the NavMesh Obstacles, any idea or a workaround for to accomplish this ?

    thank in advance for all the help.
     
  2. DwinTeimlon

    DwinTeimlon

    Joined:
    Feb 25, 2016
    Posts:
    300
    Do your obstacles move a lot? If not, you could use the carve option in the NavMeshObstacle Inspector.
     
  3. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    thnak your for the tip, i will try it.