Closed mathew-tran closed 10 months ago
hrm.. I think we may need to move to Astar here to get to weighted paths. We are currently using navigation agent 2d. and enabling / disabling navigation on the tilemap.
According to this ticket, tilemap doesn't support costs https://github.com/godotengine/godot/issues/79688
I don't know if it'll be as performant, but it's a start.
Ended up using astar grid and overlaying it on top of the tilemap.
We should create tiles when Peeple walk on them, they get a boost of movement speed. We should also make it such that the navigation takes this into account and prefers to walk on roads when it can