Create init.lua

This commit is contained in:
LoneWolfHT 2020-06-11 20:17:28 -07:00 committed by GitHub
parent 26cb118eeb
commit 5440e5d390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

5
init.lua Normal file
View 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)