Impliment buildTree function
This commit is contained in:
@@ -66,9 +66,9 @@ def buildTree():
|
|||||||
treeYPos = random.randint(0, yNum - 1)
|
treeYPos = random.randint(0, yNum - 1)
|
||||||
treeZPos = z + 0.5
|
treeZPos = z + 0.5
|
||||||
|
|
||||||
|
# Add a single block as the location of the tree stump.
|
||||||
bpy.ops.mesh.primitive_cube_add(size = size, location = (treeXPos, treeYPos, treeZPos), scale = (size, size, size))
|
bpy.ops.mesh.primitive_cube_add(size = size, location = (treeXPos, treeYPos, treeZPos), scale = (size, size, size))
|
||||||
|
|
||||||
|
|
||||||
# Calling the functions:
|
# Calling the functions:
|
||||||
cleanScene()
|
cleanScene()
|
||||||
spawnGround()
|
spawnGround()
|
||||||
|
Reference in New Issue
Block a user