This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

TileMap with navigation2D and get_simple_path function

nuxlightnuxlight Posts: 10Member

Hi everyone,
I'm sorry but in need help, i don't understand the pathfinding in godot.
When i call the function get_simple_path i have the same result : my PoolVector2Array is empty.
maybe it's due to the parameters...
Do you have a good samples for that ?
should i give a global_position in parameters ?
Thanks for your help.


Tags :

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.