Very stupid pathfinding Godot 4.2.1

custom data layer is basically what the tilesets’ specific tile’s custom data, it will be the same custom data for all of the same tile

as for modifying specific tile’s value during runtime, it can be done with 2 tilemap’s built in methods like shown here

you can spawn the tree as an object to be interact with, but the navigation path will also be produced by tilemap’s tilesets’ navigation layer’s tile

if the tree can be moved, then it will be a lot difficult to do the above method, but doesnt look like the tree/rock can be moved, so you can let the tilemap’s tilesets’ tile’s navigation layer to have the navigation

this is what i meant by the “tilemap’s tilesets’ tile’s navigation layer”

1 Like