1
0
mirror of https://github.com/LoneWolfHT/headanim.git synced 2024-11-06 02:20:24 +01:00

Fix floating head

This commit is contained in:
LoneWolfHT 2020-07-20 16:14:41 -07:00 committed by GitHub
parent 6ac47b23db
commit 05e3a7a8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)