diff options
author | stujones11 <stujones111@gmail.com> | 2017-08-24 09:01:16 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-24 10:01:16 +0200 |
commit | ac4884c3d677ef51bcce47f95ccd49d874022692 (patch) | |
tree | d7474c9c8914a6147a157245182fa8f201b51646 /doc | |
parent | 01c319d7784c3db614a53745e5af62c43cf45c90 (diff) | |
download | minetest-ac4884c3d677ef51bcce47f95ccd49d874022692.tar.gz minetest-ac4884c3d677ef51bcce47f95ccd49d874022692.tar.bz2 minetest-ac4884c3d677ef51bcce47f95ccd49d874022692.zip |
Make entity selection and collision boxes independently settable (#6218)
* Make entity selection and collision boxes independently settable
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7af935056..32dab9d00 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3986,6 +3986,9 @@ Definition tables collide_with_objects = true, -- collide with other objects if physical = true weight = 5, collisionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5}, + selectionbox = {-0.5, 0.0, -0.5, 0.5, 1.0, 0.5}, + -- ^ Default, uses collision box dimensions when not set + pointable = true, -- overrides selection box when false visual = "cube" / "sprite" / "upright_sprite" / "mesh" / "wielditem", visual_size = {x = 1, y = 1}, mesh = "model", |