mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
optimizations
This commit is contained in:
parent
4645a5e456
commit
bd85ee4c67
1 changed files with 1 additions and 4 deletions
|
@ -308,10 +308,7 @@ function airutils.logic(self)
|
|||
end
|
||||
|
||||
-- pitch
|
||||
local newpitch = math.rad(0)
|
||||
if airutils.get_plane_pitch then
|
||||
newpitch = airutils.get_plane_pitch(velocity, longit_speed, self._min_speed, self._angle_of_attack)
|
||||
end
|
||||
local newpitch = airutils.get_plane_pitch(velocity, longit_speed, self._min_speed, self._angle_of_attack)
|
||||
|
||||
--for airplanes with cannard or pendulum wing
|
||||
local actuator_angle = self._elevator_angle
|
||||
|
|
Loading…
Add table
Reference in a new issue