readded index to stop token draw lagging
This commit is contained in:
parent
aba86f4e88
commit
81f4f678c7
@ -301,6 +301,7 @@ function drawChaosToken(params)
|
|||||||
-- add the token to the list, compute new position based on list length
|
-- add the token to the list, compute new position based on list length
|
||||||
tokenOffset[1] = tokenOffset[1] + (0.17 * #chaosTokens)
|
tokenOffset[1] = tokenOffset[1] + (0.17 * #chaosTokens)
|
||||||
local token = chaosbag.takeObject({
|
local token = chaosbag.takeObject({
|
||||||
|
index = 0,
|
||||||
position = mat.positionToWorld(tokenOffset),
|
position = mat.positionToWorld(tokenOffset),
|
||||||
rotation = mat.getRotation()
|
rotation = mat.getRotation()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user