1
0
mirror of https://github.com/LoneWolfHT/headanim.git synced 2024-11-11 04:50:23 +01:00
headanim/init.lua
2020-07-20 16:14:41 -07:00

6 lines
232 B
Lua

minetest.register_globalstep(function(dtime)
for _, player in pairs(minetest.get_connected_players()) do
player:set_bone_position("Head", vector.new(0, 6.35, 0), vector.new(-math.deg(player:get_look_vertical()), 0, 0))
end
end)