|Topic was automatically imported from the old Question2Answer platform.
how can I define a tile to be not usable for Astar pathfinding? (For characters not to occupy the same tile.)
I’m trying to implement set_point_disabled(), but since it only accepts integers, I cannot get it to work (with positions Vector2).
I also tried to erase() tiles from the Astar tile array, but that invokes weird behaviour.
Surely there must be an easy way that I haven’t figured out?
Thanks for any input,