Player API: Set eye height property for new player model

Correct the collisionbox height.
This commit is contained in:
paramat 2017-11-05 04:28:52 +00:00 committed by paramat
parent 9d9e9b6709
commit d4e1bd053e
3 changed files with 6 additions and 2 deletions

View file

@ -15,6 +15,7 @@ player_api.register_model("character.b3d", {
},
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
stepheight = 0.6,
eye_height = 1.47,
})
-- Update appearance when the player joins