mapeditor/tiled-to-godot-export

Navigation support?

rainbowlotus-games opened this issue · 1 comments

Hey,

I'm trying to add Navigation to my tiles, but it seems the type "navigation" is not yet supported. Is that correct?
As in, I expect adding "navigation" as the type of the tile, it would create a NavigationPolgyon node and so on, to the Sprite, in the Godot scene. Also, even if this would work, a TileMap needs a Navigation2D node as the parent - currently the parent of each TileMap is just a Node2D. So how would this work? Am I better off in just having anything I want to be navigatable on a seperate, Godot only TileMap, for now?

bjorn commented

@rainbowlotus-games If it is clear what you need the exporter to do and it would be useful for others as well, I would encourage you to contribute to the exporter. This could be code changes, or just describing the desired behavior in detail. Currently your description is a little light on details, so it would be hard for somebody to make the desired improvements to the plugin without knowing the relevant Godot systems.

Necessary information is for example how do the Navigation2D node or the NavigationPolygon node look like in the Godot file format? Or how does one usually set those up in Godot?