mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
This commit is contained in:
committed by
Mat Sutcliffe
parent
f7add9f33e
commit
05805f4d89
@@ -359,10 +359,10 @@ namespace BlackSimPlugin
|
||||
gearHandlePosition = parts.isGearDown() ? 1.0 : 0.0;
|
||||
const double trail = parts.getFlapsPercent() / 100.0;
|
||||
const double lead = trail;
|
||||
flapsTrailingEdgeLeftPercent = trail;
|
||||
flapsLeadingEdgeRightPercent = trail;
|
||||
flapsLeadingEdgeLeftPercent = lead;
|
||||
flapsLeadingEdgeRightPercent = lead;
|
||||
flapsTrailingEdgeLeftPercent = trail;
|
||||
flapsTrailingEdgeRightPercent = trail;
|
||||
flapsLeadingEdgeLeftPercent = lead;
|
||||
flapsLeadingEdgeRightPercent = lead;
|
||||
spoilersHandlePosition = parts.isSpoilersOut() ? 1.0 : 0.0;
|
||||
this->setAllEngines(false); // init
|
||||
|
||||
|
||||
Reference in New Issue
Block a user