mirror of
https://github.com/APercy/airutils.git
synced 2025-03-21 18:41:21 +00:00
lift function received a normalization at ending
This commit is contained in:
parent
b31f065ab7
commit
da87150918
1 changed files with 3 additions and 0 deletions
3
init.lua
3
init.lua
|
@ -303,6 +303,9 @@ function airutils.getLiftAccel(self, velocity, accel, longit_speed, roll, curr_p
|
||||||
end
|
end
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- end lift
|
-- end lift
|
||||||
|
local multiplier = self.dtime / airutils.ideal_step
|
||||||
|
retval = retval * multiplier
|
||||||
|
|
||||||
return retval
|
return retval
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue