Code Monkey home page Code Monkey logo

Comments (4)

h8man avatar h8man commented on May 29, 2024

Obstacle doesn't respect layers. See https://docs.unity3d.com/ScriptReference/AI.NavMeshObstacle.html
If you talking abstract "obstacle", so you need to change default navmesh to nonwalkable
https://github.com/h8man/NavMeshPlus/wiki/HOW-TO#mazes

from navmeshplus.

SauronDark avatar SauronDark commented on May 29, 2024

oh right sorry, by saying obstacle I meant for "Non Walkable" override on Wall sprite, but what I am trying to achieve is to place a "Walkable" on top of "Non Walkable", so I was expecting a connection between the outer wall and inside navmesh. I also tried setting the default to Nonwalkable and overriding ground and overlapping image to Walkable, but navmesh isn't bridging.

from navmeshplus.

h8man avatar h8man commented on May 29, 2024

Non-walkable overrides any region, you should mark only walkable space instead
https://github.com/h8man/NavMeshPlus/wiki/HOW-TO#mazes

Also check navmesh demo https://github.com/h8man/RedHotSweetPepper

from navmeshplus.

SauronDark avatar SauronDark commented on May 29, 2024

Non-walkable overrides any region

oh, that makes sense, so basically, it is not possible without carving pixels out of the wall's image sprite, maybe I should consider that at run time, thanks for the help.

from navmeshplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.