Search Unity

Nav mesh agent, need box obstacle!!!

Discussion in 'Navigation' started by StrongCube, Jun 16, 2017.

  1. StrongCube

    StrongCube

    Joined:
    Nov 22, 2016
    Posts:
    50
    Very need box obstacle for Nav mesh agent.
    As an example - a car.
    upload_2017-6-16_11-42-15.png

    NPC passes through the machine, because it is worth a cylinder.

    "Nav mesh obstracle" have box!!!!!

    "Nav mesh agent" + "Nav mesh Obstracle" = not working !!!
     
  2. Denmla

    Denmla

    Joined:
    Aug 22, 2014
    Posts:
    41
    Have you tried selecting box shape and thickening "Carve" so that will make your car dynamic obstacle like it should be and your Agent shouldn't go through it?
     
  3. StrongCube

    StrongCube

    Joined:
    Nov 22, 2016
    Posts:
    50
    car used "Nav mesh agent" !!!!
    "Nav mesh Obstracle" not workin, if use "Nav mesh agent" on one object
     
  4. Denmla

    Denmla

    Joined:
    Aug 22, 2014
    Posts:
    41
    If you want to your car be NavMeshAgent try changing these setting in picture to get as far as close as it can gets to represent box ?
     
  5. Andhil

    Andhil

    Joined:
    Apr 15, 2018
    Posts:
    13
    I've got exactly the same problem here. I tried everything and i Don't know how to do. I would like to both use the internal navMesh system for character and for vehicle but with this cylinder shape i Don't know how to manage…
    Does someone has an idea ?