Search Unity

Made NavMeshAgents to avoid certain agent

Discussion in 'Navigation' started by platinio2007, Jul 16, 2018.

  1. platinio2007


    Jul 17, 2015
    hi guys, first sorry for my bad english

    So about my problem i am making some AI that follow others agents, and avoid each others that works fine, but when the agent A chase the agent B, and agent A gets closets try to avoid agent B, so how can i solve it?

    if i disable the avoidance, then he will no avoid others agents and i dont want that.

    if i disable the avoidance when it gets closets then will have the same undesire effect as before.

    So guys exist a way like in collision to say, agent A dont avoid Agent B, but be sure to avoid others agents