Full-node collisionbox for palm leaves
parent
dc0d1e3184
commit
a5f6fa98df
|
@ -60,6 +60,10 @@ minetest.register_node("lzr_core:bright_palm_leaves", {
|
|||
description = S("Bright Palm Leaves"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = { -lb, -0.5, -lb, lb, lb, lb },
|
||||
|
@ -79,6 +83,10 @@ minetest.register_node("lzr_core:dark_palm_leaves", {
|
|||
description = S("Dark Palm Leaves"),
|
||||
paramtype = "light",
|
||||
drawtype = "nodebox",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
|
||||
},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = { -lb, -0.5, -lb, lb, lb, lb },
|
||||
|
|
Loading…
Reference in New Issue