mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 10:50:21 +01:00
set player visual scale when riding
This commit is contained in:
parent
3ba7defa3a
commit
a33a52d140
@ -135,6 +135,7 @@ function mobs.attach(entity, player)
|
|||||||
player:set_attach(entity.object, "", attach_at, entity.player_rotation)
|
player:set_attach(entity.object, "", attach_at, entity.player_rotation)
|
||||||
default.player_attached[player:get_player_name()] = true
|
default.player_attached[player:get_player_name()] = true
|
||||||
player:set_eye_offset(eye_offset, {x = 0, y = 0, z = 0})
|
player:set_eye_offset(eye_offset, {x = 0, y = 0, z = 0})
|
||||||
|
player:set_properties({visual_size = {x=1, y=1}})
|
||||||
|
|
||||||
minetest.after(0.2, function()
|
minetest.after(0.2, function()
|
||||||
default.player_set_animation(player, "sit" , 30)
|
default.player_set_animation(player, "sit" , 30)
|
||||||
|
Loading…
Reference in New Issue
Block a user