Update Airboss.lua

- Fixed Attitude Monitor
This commit is contained in:
Frank 2023-12-22 10:36:25 +01:00
parent ebe486c69a
commit f86b3505b2

View File

@ -11196,7 +11196,7 @@ function AIRBOSS:_AttitudeMonitor( playerData )
end end
text = text .. string.format( "\nPitch=%.1f° | Roll=%.1f° | Yaw=%.1f°", pitch, roll, yaw ) text = text .. string.format( "\nPitch=%.1f° | Roll=%.1f° | Yaw=%.1f°", pitch, roll, yaw )
text = text .. string.format( "\nClimb Angle=%.1f° | Rate=%d ft/min", unit:GetClimbAngle(), velo.y * 196.85 ) text = text .. string.format( "\nClimb Angle=%.1f° | Rate=%d ft/min", unit:GetClimbAngle(), velo.y * 196.85 )
local dist = self:_GetOptLandingCoordinate():Get3DDistance( playerData.unit ) local dist = self:_GetOptLandingCoordinate():Get3DDistance( playerData.unit:GetVec3() )
-- Get player velocity in km/h. -- Get player velocity in km/h.
local vplayer = playerData.unit:GetVelocityKMH() local vplayer = playerData.unit:GetVelocityKMH()
-- Get carrier velocity in km/h. -- Get carrier velocity in km/h.