Extend vending machine collision box to match mesh (#7)
Fix phantom top half of vending machine by extending selection and collision boxes to match mesh. Add soft glow.
This commit is contained in:
parent
e6cc40ad11
commit
59e33bf872
2
init.lua
2
init.lua
@ -305,6 +305,8 @@ minetest.register_node("beverage:vending", {
|
||||
description = S("Vending Machine"),
|
||||
drawtype = "mesh",
|
||||
mesh = "homedecor_soda_machine.obj",
|
||||
collision_box = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}},
|
||||
light_source = 10,
|
||||
inventory_image = "beverage_vendinginv.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
Loading…
x
Reference in New Issue
Block a user