mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 02:16:04 +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:
@@ -359,10 +359,10 @@ namespace BlackSimPlugin
|
|||||||
gearHandlePosition = parts.isGearDown() ? 1.0 : 0.0;
|
gearHandlePosition = parts.isGearDown() ? 1.0 : 0.0;
|
||||||
const double trail = parts.getFlapsPercent() / 100.0;
|
const double trail = parts.getFlapsPercent() / 100.0;
|
||||||
const double lead = trail;
|
const double lead = trail;
|
||||||
flapsTrailingEdgeLeftPercent = trail;
|
flapsTrailingEdgeLeftPercent = trail;
|
||||||
flapsLeadingEdgeRightPercent = trail;
|
flapsTrailingEdgeRightPercent = trail;
|
||||||
flapsLeadingEdgeLeftPercent = lead;
|
flapsLeadingEdgeLeftPercent = lead;
|
||||||
flapsLeadingEdgeRightPercent = lead;
|
flapsLeadingEdgeRightPercent = lead;
|
||||||
spoilersHandlePosition = parts.isSpoilersOut() ? 1.0 : 0.0;
|
spoilersHandlePosition = parts.isSpoilersOut() ? 1.0 : 0.0;
|
||||||
this->setAllEngines(false); // init
|
this->setAllEngines(false); // init
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user