Help with Procedual Generation - Why do my caves only generate Up and Right?

Title. been trying to debug this for a while but my caves won’t expand to the left or downwards, and I don’t know why.

idk why this is here, the router will only ever choose the first path

Made this a long while ago so it’s very likely that I need to touch up the code to optimize it and clean it. This kind of gives that effect of a cave depending on which settings you have.

2 Likes

Oh, you’re right, I forgot to set it to randomize

1 Like