aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTeTpaAka <TeTpaAka@users.noreply.github.com>2015-05-29 20:30:55 +0200
committerShadowNinja <shadowninja@minetest.net>2017-05-06 15:41:05 -0400
commitb6f4a9c7e1a4f0bac66fd6f6ff844425ac775975 (patch)
tree228bef3edfcb05091b8a08184734ae6ff2244193 /doc
parent43d1f375d18a2fbc547a9b4f23d1354d645856ca (diff)
downloadminetest-b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975.tar.gz
minetest-b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975.tar.bz2
minetest-b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975.zip
Make the player collisionbox settable
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 166cc024a..1f8abd70c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -3705,7 +3705,8 @@ Definition tables
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "cube"/"sprite"/"upright_sprite"/"mesh"/"wielditem",
visual_size = {x=1, y=1},
- mesh = "model",
+ mesh = "model", -- for players (0, -1, 0) is ground level,
+ -- for all other entities (0, 0, 0) is ground level.
textures = {}, -- number of required textures depends on visual
colors = {}, -- number of required colors depends on visual
spritediv = {x=1, y=1},