for those who didn't make this I've made a simple function with setting up a custom position
function
Code: Select all
function setItemPosition(sender,a,b,c,d)
local pos = sender:getWorldPosition()
sender:setWorldPosition(pos[1]+a,pos[2]+b,pos[3]+c,pos[4]+d)
end
example
Code: Select all
setItemPosition(dungeon_wall_lantern_1,0,0.2,0,0)
Hope that helps
