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 /src/object_properties.h | |
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 'src/object_properties.h')
-rw-r--r-- | src/object_properties.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object_properties.h b/src/object_properties.h index 116921f7d..a18c8a1bb 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -33,6 +33,8 @@ struct ObjectProperties bool collideWithObjects = true; float weight = 5.0f; aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); + aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); + bool pointable = true; std::string visual = "sprite"; std::string mesh = ""; v2f visual_size = v2f(1, 1); |