Change the ground cubes to spawn in the negative z position

This commit is contained in:
CJ Satnarine
2024-02-17 15:49:59 -05:00
parent c1fb00b127
commit 4da3deea4c

View File

@@ -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))