#hey guys I need some sugestion, I am
1 messages · Page 1 of 1 (latest)
that looks nice. i'd create corridors first between the rooms that are unconnected. then, iterate through every wall shared by two rooms, and add a door. then find all the cycles in the graph of navigable rooms, and remove doors in the cycle as long as all the rooms are still reachable.
ok so tell me what you think about this
rn I am saving the center points of each room
from the navmesh I will see if a center point as a conection to another close center point
if there is no connection make a corridor to the next closes center point
but now I am thinking, if there is no navmesh how can I create a corridor?
should I just make a navmesh that covers the entire grid?
the grid already has information about which rooms are adjacent to each other
you can deal with the navmesh after things are complete
ah ok I see, so I should go for grid information
yes