Search Unity

question about navmesh agent collision, help needed

Discussion in 'Navigation' started by enzoravo, May 2, 2017.

  1. enzoravo

    enzoravo

    Joined:
    Jun 25, 2013
    Posts:
    284
    hello, i'm working o a game, i'm using the navmesh agents to move the player and the enemies.

    the walls and doors are using navmesh obstacles with carved option checked.

    my question is simple, what i need to do to let the player and enemies don't collide between them but collide with the walls and doors ?

    i have tried sing quality collision to none, but if i put none, the player and the enemies didn't collide between each them but they also collide with the navmesh obstacles.

    i tried using quality collision to low and using priority settings: player 99, each enemy 98 (also tried with 99); but the result is the same, the player still collides with the enemies.

    any idea how to avoid the collision between the navmesh agents other than using none on the quality collision?

    thanks in advance for all the help.