mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Make entity selection and collision boxes independently settable (#6218)
* Make entity selection and collision boxes independently settable
This commit is contained in:
parent
01c319d778
commit
ac4884c3d6
6 changed files with 38 additions and 9 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue