mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2025-01-01 05:40:35 +01:00
Update player_api model registration
Ensures correct eye position and collision box. Values taken from the player_api 'character.b3d' model.
This commit is contained in:
parent
c224a73df7
commit
082e866274
@ -296,16 +296,21 @@ player_api.register_model("3d_armor_character.b3d", {
|
||||
},
|
||||
animations = {
|
||||
stand = {x=0, y=79},
|
||||
lay = {x=162, y=166},
|
||||
lay = {x=162, y=166, eye_height = 0.3, override_local = true,
|
||||
collisionbox = {-0.6, 0.0, -0.6, 0.6, 0.3, 0.6}},
|
||||
walk = {x=168, y=187},
|
||||
mine = {x=189, y=198},
|
||||
walk_mine = {x=200, y=219},
|
||||
sit = {x=81, y=160},
|
||||
sit = {x=81, y=160, eye_height = 0.8, override_local = true,
|
||||
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.0, 0.3}},
|
||||
-- compatibility w/ the emote mod
|
||||
wave = {x = 192, y = 196, override_local = true},
|
||||
point = {x = 196, y = 196, override_local = true},
|
||||
freeze = {x = 205, y = 205, override_local = true},
|
||||
},
|
||||
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
|
||||
-- stepheight: use default
|
||||
eye_height = 1.47,
|
||||
})
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
|
Loading…
Reference in New Issue
Block a user