mirror of
https://github.com/LoneWolfHT/headanim.git
synced 2024-11-11 04:50:23 +01:00
6 lines
232 B
Lua
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)
|