Wave Function Collapse algorithm for procedural environment generation
Generate 3D or 2D environments (game levels, buildings, etc.) with Wave Function Collapse algorithm.
Set the rectangular nodes and connection rules for them inside the Blueprint preview window and press the Generate button to automatically form a level.
Use one of many Blueprint functions like Generate Meshes Async to generate and spawn your static meshes or custom Blueprints in Runtime. You can set different constraints and append your level in runtime allowing you to create infinite levels.
Buildings from the screenshots were generated with this example project, to work it requires free modular building set. The yellow stairs example could be found directly in the Content of this plugin.
Number of Blueprints: 2
Number of C++ Classes: 5 UCLASS, 2 UENUM, 3 USTRUCT, 20 plain C++ classes/structs
Network Replicated: Yes
Supported Development Platforms: Win64, Win32, Linux, Mac
Supported Target Build Platforms: Win64, Win32, Linux, Mac