Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | RebiDesi |
Here’s the code
print(get_simple_path(Player.global_position, GhostA.global_position, false))
Player and GhostA are both Node2Ds, and this code is being run in a Navigation2D that has a TileMap child with collisions made in the tileset. The collisions look fine in the debug, but yet no path is generated for some reason.
When you write “collisions made in the tileset”, do you mean that the Navigation2D
node baked collision polygons from the collisions already in the TileMap
?
Ertain | 2022-03-18 03:10