1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Make the player collisionbox settable

This commit is contained in:
TeTpaAka 2015-05-29 20:30:55 +02:00 committed by ShadowNinja
parent 43d1f375d1
commit b6f4a9c7e1
4 changed files with 14 additions and 2 deletions

View file

@ -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},