You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a_star_search() to dig corridors between rooms, and set the cost of each tile between 1.0 and 100.0 (the external walls are f32::MAX).
I noticed the function often fails to connect 2 rooms together, and the issue solves itself when I adjust the costs between 0.1 and 10.0. So it's not really an issue as the result is visually identical, but I spent quite some time finding the root cause of it.
The text was updated successfully, but these errors were encountered:
I'm using
a_star_search()
to dig corridors between rooms, and set the cost of each tile between1.0
and100.0
(the external walls aref32::MAX
).I noticed the function often fails to connect 2 rooms together, and the issue solves itself when I adjust the costs between
0.1
and10.0
. So it's not really an issue as the result is visually identical, but I spent quite some time finding the root cause of it.The text was updated successfully, but these errors were encountered: