Spawn clues next to cards, instead of on them
This commit is contained in:
parent
6790578e20
commit
bec4421bb0
@ -466,9 +466,9 @@ do
|
||||
internal.buildClueOffsets = function(card, count)
|
||||
local cluePositions = {}
|
||||
for i = 1, count do
|
||||
local row = math.floor(1 + (i - 1) / 4)
|
||||
local column = (i - 1) % 4
|
||||
local cluePos = card.positionToWorld(Vector(-0.825 + 0.55 * column, 0, -1.5 + 0.55 * row))
|
||||
local column = math.floor((i - 1) / 4)
|
||||
local row = (i - 1) % 4
|
||||
local cluePos = card.positionToWorld(Vector(1.4 + 0.55 * column, 0, -1 + 0.55 * row))
|
||||
cluePos.y = cluePos.y + 0.05
|
||||
table.insert(cluePositions, cluePos)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user