Add an option to disable object <-> object collision for Lua entities

This commit is contained in:
PilzAdam 2013-06-14 12:04:46 +00:00 committed by Nils Dagsson Moskopp
parent b4d6ffd39c
commit b3262b84fd
Signed by: erle
GPG Key ID: A3BC671C35191080
2 changed files with 2 additions and 0 deletions

View File

@ -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 = {},

View File

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