Search Unity

Navmesh Agent Quality

Discussion in 'Navigation' started by kittik, Aug 18, 2017.

  1. kittik

    kittik

    Joined:
    Mar 6, 2015
    Posts:
    565
    Hi,

    In a section of my game, I want enemies all with the same navmesh agent, to walk through one another for a short amount of time.

    I know that by setting Obsticle Avoidance Quality to None, my enemies will walk through one another, but how do I then change it through code to begin to use Obsticle Avoidance?
     
  2. DwinTeimlon

    DwinTeimlon

    Joined:
    Feb 25, 2016
    Posts:
    300
  3. kittik

    kittik

    Joined:
    Mar 6, 2015
    Posts:
    565