From 4da3deea4c8b70defb09af08294d3ecee9ae6750 Mon Sep 17 00:00:00 2001 From: CJ Satnarine Date: Sat, 17 Feb 2024 15:49:59 -0500 Subject: [PATCH] Change the ground cubes to spawn in the negative z position --- GenerateTerrain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenerateTerrain.py b/GenerateTerrain.py index 3ac0521..58a9ddc 100644 --- a/GenerateTerrain.py +++ b/GenerateTerrain.py @@ -34,7 +34,7 @@ def spawnGround(): for y in range(yNum): for z in range(zNum): # Set the location. - location = (x, y, z) + location = (x, y, -z) # Add the cubes. bpy.ops.mesh.primitive_cube_add(size = size, location = location, scale = (size, size, size))