parent
b59f1fe0b0
commit
2e2df7cc3f
1
init.lua
1
init.lua
|
@ -222,7 +222,6 @@ function handle_player_animations(dtime, player)
|
||||||
end
|
end
|
||||||
local lag_behind = diff - moving_diff
|
local lag_behind = diff - moving_diff
|
||||||
local attach_parent, _, _, attach_rotation = player:get_attach()
|
local attach_parent, _, _, attach_rotation = player:get_attach()
|
||||||
-- TODO properly handle eye offset & height vs. actual head position
|
|
||||||
if attach_parent then
|
if attach_parent then
|
||||||
local parent_rotation = attach_parent:get_rotation()
|
local parent_rotation = attach_parent:get_rotation()
|
||||||
if attach_rotation and parent_rotation then
|
if attach_rotation and parent_rotation then
|
||||||
|
|
Loading…
Reference in New Issue