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:
CloudyProton 2018-07-27 06:10:40 -04:00 committed by SmallJoker
parent e6cc40ad11
commit 59e33bf872

View File

@ -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",