Changed WFC acceptance to 100% connectivity and added test case to test the layer generation.
This commit is contained in:
@@ -198,7 +198,7 @@ public partial class Layer : Node3D
|
||||
if (safetyCounter == layerSize * layerSize) return false;
|
||||
}
|
||||
if (updateFailed) return false;
|
||||
if (!WFC.IsMapConnected(tiles, 0.8f)) return false;
|
||||
if (!WFC.IsMapConnected(tiles, 1f)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user