Spawn clues next to cards, instead of on them

This commit is contained in:
Adam Goldsmith 2024-07-28 00:34:13 -04:00
parent 6790578e20
commit bec4421bb0

View File

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