mirror of
https://github.com/LoneWolfHT/headanim.git
synced 2025-01-09 13:57:28 +01:00
Create init.lua
This commit is contained in:
parent
26cb118eeb
commit
5440e5d390
5
init.lua
Normal file
5
init.lua
Normal file
@ -0,0 +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))
|
||||
end
|
||||
end)
|
Loading…
Reference in New Issue
Block a user