Update Utils.lua

#UTILS Small fix
This commit is contained in:
Thomas
2026-02-10 15:33:24 +01:00
committed by GitHub
parent 5e6204854f
commit fa163d2a42
+1 -1
View File
@@ -5521,7 +5521,7 @@ end
function UTILS.CalculateInterceptBearing(A1, V1, A2, V2_speed)
local function berechne_bearing(richtung)
local bearing = math.deg(math.atan2(richtung.x, richtung.y))
local bearing = math.deg(math.atan2(richtung.x, richtung.z))
if bearing < 0 then
bearing = bearing + 360
end