Change the ground cubes to spawn in the negative z position
This commit is contained in:
@@ -34,7 +34,7 @@ def spawnGround():
|
|||||||
for y in range(yNum):
|
for y in range(yNum):
|
||||||
for z in range(zNum):
|
for z in range(zNum):
|
||||||
# Set the location.
|
# Set the location.
|
||||||
location = (x, y, z)
|
location = (x, y, -z)
|
||||||
|
|
||||||
# Add the cubes.
|
# Add the cubes.
|
||||||
bpy.ops.mesh.primitive_cube_add(size = size, location = location, scale = (size, size, size))
|
bpy.ops.mesh.primitive_cube_add(size = size, location = location, scale = (size, size, size))
|
||||||
|
Reference in New Issue
Block a user