Giter Club home page Giter Club logo

Comments (3)

h8man avatar h8man commented on May 28, 2024

You have navmesh modifier + tilemap modifier, but you need only one of them

from navmeshplus.

switchCTRL avatar switchCTRL commented on May 28, 2024

Thanks for the response and sorry for my late answer.
The NavMeshModifierTilemap has NavMeshModifier as requirement.
Bildschirmfoto 2024-05-03 um 09 18 16
If I use only the NavMeshModifier in combination with PhysicsColliders I get the result from the first screenshot. I assume one cannot have both, using physics shapes and define specific tiles as walkable, fast walkable, water etc.?

What I want to achieve is that the layers of my tile map are walkable on their own. If I connect them with stairs or something similar one can travel from on layer to another.
Like in this picture:
Bildschirmfoto 2024-05-05 um 12 51 11

where

  • Green is walkable
  • Blue is water (later the character may be able to swim)
  • Yellow is fast walkable
  • The stairs connect layer 0 and 1 (without stairs the character should not be able to travel between these two layers).
    Is a setup like this possible?

from navmeshplus.

h8man avatar h8man commented on May 28, 2024

I'm very sorry, I check that from a code, and didn't notice modifier is used by builder.
So yes, Navigation Modifier is required with Modifier Tilemap.
Here is sample:
https://github.com/h8man/RedHotSweetPepper/tree/master/Assets/Scenes/SampleSceneTilemapModifier

Try this scene to get a feel on how to works, as documentation is not updated right now

As for layers, Navigation doesn't support layers in traditional sense, cause everything is projected into 1 navigation mesh.

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.