Gridmap and navigation

UnRealCloudUnRealCloud Posts: 3Member

Hello people, I'm glad to find this forum, it's so helpful.
But I have a question similar to this one https://godotengine.org/qa/18497/how-to-set-up-a-gridmap-with-navigation
On my side I can't make it work.
First I create an element for my gridmap , and I generate the navmesh instance then I export to a meshlibrary

After that I create a main scene to test pathfinding, but when I use a gridmap with the meshlibrary of my element, and carrefully align my elements, no path if found betwen two points.

But in case where I instanced my element as a node in main scene, create multiple node and align them exactly as for gridmap, in this case it's working

So I guess godot can merge navmesh

Is there anybody who succes to work with gridmap and navigation and could tell me what is wrong with my scenes

Answers

  • TwistedTwiglegTwistedTwigleg Posts: 888Admin

    Did you delete the mesh library and then re-export it, like in the linked question?

    It could be that navigation meshes are not working with Grid maps, if this Github issue is anything to go by.

    Is there anybody who succes to work with gridmap and navigation and could tell me what is wrong with my scenes

    I’ve never used GridMaps and NavigationMeshes together, so I cannot offer much more than guesses. Sorry.

  • UnRealCloudUnRealCloud Posts: 3Member

    Did you delete the mesh library and then re-export it, like in the linked question?

    I tried but it didn't change anythings

  • TwistedTwiglegTwistedTwigleg Posts: 888Admin

    I tried but it didn't change anythings

    I'd say it is probably related to the Github issue above, since it should be working.

  • MegalomaniakMegalomaniak Posts: 997Admin
    Answer ✓

    Follow the github link posted by TwistedTwigleg above and(assuming you have an github account) post a comment confirming the bug, offer as much information you can. This raises the chance that someone will find interest in debugging and fixing this issue.

  • UnRealCloudUnRealCloud Posts: 3Member
    edited April 16

    Ok, it will be done, thank you. Edit : github comment

    So far, there is only one way to use navmesh in 3D? Create all your mesh in 3D creator, generate a specefic mesh to be your nav mesh, and then export all of this in godot, right?

Sign In or Register to comment.