mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
5241642447
@ -2647,6 +2647,15 @@ function AIRBOSS:SetRecoveryTurnTime(interval)
|
|||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Set multiplayer environment wire correction.
|
||||||
|
-- @param #AIRBOSS self
|
||||||
|
-- @param #number Dcorr Correction distance in meters. Default 8.7 m.
|
||||||
|
-- @return #AIRBOSS self
|
||||||
|
function AIRBOSS:SetMPWireCorrection(Dcorr)
|
||||||
|
self.mpWireCorrection=Dcorr or 8.7
|
||||||
|
return self
|
||||||
|
end
|
||||||
|
|
||||||
--- Set time interval for updating queues and other stuff.
|
--- Set time interval for updating queues and other stuff.
|
||||||
-- @param #AIRBOSS self
|
-- @param #AIRBOSS self
|
||||||
-- @param #number interval Time interval in seconds. Default 30 sec.
|
-- @param #number interval Time interval in seconds. Default 30 sec.
|
||||||
@ -10427,6 +10436,11 @@ function AIRBOSS:_GetWire(Lcoord, dc)
|
|||||||
-- Corrected landing distance wrt to stern. Landing distance needs to be reduced due to delayed landing event for human players.
|
-- Corrected landing distance wrt to stern. Landing distance needs to be reduced due to delayed landing event for human players.
|
||||||
local d=Ldist-dc
|
local d=Ldist-dc
|
||||||
|
|
||||||
|
-- Multiplayer wire correction.
|
||||||
|
if self.mpWireCorrection then
|
||||||
|
d=d-self.mpWireCorrection
|
||||||
|
end
|
||||||
|
|
||||||
-- Shift wires from stern to their correct position.
|
-- Shift wires from stern to their correct position.
|
||||||
local w1=self.carrierparam.wire1
|
local w1=self.carrierparam.wire1
|
||||||
local w2=self.carrierparam.wire2
|
local w2=self.carrierparam.wire2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user