From 3496cc07d742247d538bfe3e1704b788d514bc88 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Sat, 8 Jul 2023 17:05:17 -0300 Subject: [PATCH] fixed deg method --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3b97f54..31ce307 100644 --- a/init.lua +++ b/init.lua @@ -275,7 +275,7 @@ function airutils.getLiftAccel(self, velocity, accel, longit_speed, roll, curr_p local angle_of_attack = math.rad(self._angle_of_attack + wing_config) --local acc = 0.8 - local daoa = deg(angle_of_attack) + local daoa = math.deg(angle_of_attack) --minetest.chat_send_all(dump(daoa)) --to decrease the lift coefficient at hight altitudes