mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
update items look
This commit is contained in:
parent
c84b14ff0f
commit
fb17228eff
3 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ local itemIndex = rig:index("item")
|
|||
local function refresh_model(id)
|
||||
itemid = id
|
||||
rig:set_model(itemIndex, item.name(itemid)..".model")
|
||||
rig:set_matrix(itemIndex, mat4.rotate({0, 1, 0}, -80))
|
||||
end
|
||||
|
||||
function on_render()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue