1
0
mirror of https://github.com/LoneWolfHT/headanim.git synced 2024-11-13 14:00:38 +01:00
headanim/init.lua

6 lines
232 B
Lua
Raw Normal View History

2020-06-12 05:17:28 +02:00
minetest.register_globalstep(function(dtime)
for _, player in pairs(minetest.get_connected_players()) do
2020-07-21 01:14:41 +02:00
player:set_bone_position("Head", vector.new(0, 6.35, 0), vector.new(-math.deg(player:get_look_vertical()), 0, 0))
2020-06-12 05:17:28 +02:00
end
end)