feat: complete item 'model-name' support
This commit is contained in:
@@ -25,7 +25,7 @@ end
|
||||
|
||||
do -- setup visuals
|
||||
local matrix = mat4.idt()
|
||||
rig:set_model(0, item.name(dropitem.id)..".model")
|
||||
rig:set_model(0, item.get_model_name(dropitem.id))
|
||||
local bodysize = math.min(scale[1], scale[2], scale[3]) * DROP_SCALE
|
||||
body:set_size({scale[1] * DROP_SCALE, bodysize, scale[3] * DROP_SCALE})
|
||||
mat4.mul(matrix, rotation, matrix)
|
||||
|
||||
Reference in New Issue
Block a user