Procedurally generating a level using pre-made models

Exits are points (scene component) that I use as a connection point. I rotate them in a direction in witch next room will rotate.

GI is the custom game instance I created to hold a number of rooms that will spawn.

I use overlap to check if something is already placed, so that rooms won’t spawn on top of each other.

It’s a very simple method, that’s good and bad. It’s not that accurate.

If you are looking for something more complex, I’d recommend you to watch this:

1 Like