0 votes

I'm trying to get Navigation2D working on a TileMap.

In the attached screenshot, I have:
1. Setup a NavigationPolygonInstance (which you can see in 2, and in game 3).

When I click the mouse (see 4) I get empty coordinates returned from getsimplepath on the Nav2D, even though the polygons overlap.

If I click inside the same polygon as the character, I get a valid set of points.

Is there a special way to merge these polygons?
I've seen other people say it should just work: https://godotengine.org/qa/1790/how-to-implement-pathfinding-with-a-tilemap?show=1790#q1790

See image here

https://drive.google.com/open?id=1lsXUFawmC-GvstA3wmnaCfKauLyEQ8k5

in Engine by (52 points)

1 Answer

0 votes

you can't merge navmesh

by (31 points)

So there is no way to do what I want?
What is it that other people are doing to get this to work? Do they have a single navigation polygon they are generating by hand to follow their tilemap?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.