Search Unity

Question Is there a way to pathfinder away from an object

Discussion in 'Navigation' started by Bannanaking3, May 8, 2023.

  1. Bannanaking3

    Bannanaking3

    Joined:
    Jun 21, 2022
    Posts:
    121
    I have a zombie minion character guy that follows you around and stops if he gets too close to you. The problem with this is that if he stops in a doorway that you need to go through, he just sits there, trapping you in that room. this also happens in hallways and any other narrow space.

    is there a well established way to have an agent pathfind in the opposite direction of you?
     
  2. Bannanaking3

    Bannanaking3

    Joined:
    Jun 21, 2022
    Posts:
    121
    found it!: