Skip to content

Commit

Permalink
Fix floating head
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Jul 20, 2020
1 parent 6ac47b2 commit 05e3a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 05e3a7a

Please sign in to comment.