Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst

This commit is contained in:
N-Nachtigal 2025-05-14 16:36:42 +02:00
parent 95945c0306
commit a0c893ca0b
1124 changed files with 64294 additions and 763 deletions

View file

@ -0,0 +1,7 @@
local pi = math.pi
function futil.set_look_dir(player, look_dir)
local pitch = math.asin(-look_dir.y)
local yaw = math.atan2(look_dir.z, look_dir.x)
player:set_look_vertical(pitch)
player:set_look_horizontal((yaw + 1.5 * pi) % (2.0 * pi))
end