diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-06-14 12:04:46 +0000 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-07-20 20:43:11 +0200 |
commit | 8cae65978611476d0da215acf61819a905c68267 (patch) | |
tree | 2fec7ef03de8946149c8d118b49ca472e0d048a6 /builtin/item_entity.lua | |
parent | 413f0d0353d49d7baed32540d73cbec99e35658a (diff) | |
download | minetest-8cae65978611476d0da215acf61819a905c68267.tar.gz minetest-8cae65978611476d0da215acf61819a905c68267.tar.bz2 minetest-8cae65978611476d0da215acf61819a905c68267.zip |
Add an option to disable object <-> object collision for Lua entities
Diffstat (limited to 'builtin/item_entity.lua')
-rw-r--r-- | builtin/item_entity.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/item_entity.lua b/builtin/item_entity.lua index c682db2fa..95affe3da 100644 --- a/builtin/item_entity.lua +++ b/builtin/item_entity.lua @@ -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}, |