Add an option to disable object <-> object collision for Lua entities
This commit is contained in:
parent
b4d6ffd39c
commit
b3262b84fd
|
@ -7,6 +7,7 @@
|
|||
minetest.register_entity("__builtin:falling_node", {
|
||||
initial_properties = {
|
||||
physical = true,
|
||||
collide_with_objects = false,
|
||||
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
|
||||
visual = "wielditem",
|
||||
textures = {},
|
||||
|
|
|
@ -12,6 +12,7 @@ minetest.register_entity("__builtin:item", {
|
|||
initial_properties = {
|
||||
hp_max = 1,
|
||||
physical = true,
|
||||
collide_with_objects = false,
|
||||
collisionbox = {-0.17,-0.17,-0.17, 0.17,0.17,0.17},
|
||||
visual = "sprite",
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
|
|
Loading…
Reference in New Issue