mirror of
https://github.com/LoneWolfHT/headanim.git
synced 2024-12-05 00:20:29 +01:00
Fix floating head
This commit is contained in:
parent
6ac47b23db
commit
05e3a7a8ba
2
init.lua
2
init.lua
@ -1,5 +1,5 @@
|
||||
minetest.register_globalstep(function(dtime)
|
||||
for _, player in pairs(minetest.get_connected_players()) do
|
||||
player:set_bone_position("Head", vector.new(0, 6.75, 0), vector.new(-math.deg(player:get_look_vertical()), 0, 0))
|
||||
player:set_bone_position("Head", vector.new(0, 6.35, 0), vector.new(-math.deg(player:get_look_vertical()), 0, 0))
|
||||
end
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user