Search Unity

NavMeshAgent built-in obstacle

Discussion in 'Navigation' started by chanfort, Mar 22, 2015.

  1. chanfort

    chanfort

    Joined:
    Dec 15, 2013
    Posts:
    641
    NavMeshAgent has similar thing like cylindrical obstacle. However, NavMeshAgent has no option to do "carving" in case than I want that it would affect paths for other units. I tried to use both NavMeshAgent and obstacle, however, there are warning that these two components can give unexpected behaviour. How I could solve this situation then I want that each unit would carve holes and also would be able to move along its own path?
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Whats stopping you placing the carving object on a child or such?
     
  3. thomkoled

    thomkoled

    Joined:
    Oct 28, 2014
    Posts:
    11
  4. chanfort

    chanfort

    Joined:
    Dec 15, 2013
    Posts:
    641