Fix ground overlap in demo
This commit is contained in:
parent
3e816ae0d5
commit
6a286ef3a5
@ -161,7 +161,7 @@ function make_ground()
|
|||||||
for x = -20, 20, 1 do
|
for x = -20, 20, 1 do
|
||||||
for z = -20, 20, 1 do
|
for z = -20, 20, 1 do
|
||||||
local piece = ground_prefab:Duplicate()
|
local piece = ground_prefab:Duplicate()
|
||||||
piece.transform.position = couch.Vector3(3.0 * x, -2.0, 3.0 * z)
|
piece.transform.position = couch.Vector3(6.0 * x, -2.0, 6.0 * z)
|
||||||
ground.children:Append(piece)
|
ground.children:Append(piece)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user