Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Reduce Not - Walkable area size

Discussion in 'Navigation' started by DanielX95, May 3, 2020.

  1. DanielX95

    DanielX95

    Joined:
    Apr 25, 2017
    Posts:
    24
    Hello,

    is there a way to manually reduce the size of a Not - Walkable object in the NavMesh?

    Screenshot 2020-05-03 15.36.06.png

    This rock is set to Navigation Static and to Not - Walkable Area and that's fine, but how can I reduce the automatic generated Not Walkable Area that is bigger than I need?

    So far I found a work around to this problem by removing the mesh from the Baking and by putting a small 3D Box as its child and baking it instead of the rock. This gave me a smaller Not - Walkable Area but I'm not sure this is the best way to do this.

    Best regards.
     
  2. MariusUrbelis

    MariusUrbelis

    Unity Technologies

    Joined:
    Mar 15, 2015
    Posts:
    29
    Are you using a NavMeshObstacle? It allows you to mess with these settings.

    upload_2020-5-7_15-45-55.png