diff --git a/src/plugins/simulator/fs9/fs9client.cpp b/src/plugins/simulator/fs9/fs9client.cpp index 11faff915..3c7eebb58 100644 --- a/src/plugins/simulator/fs9/fs9client.cpp +++ b/src/plugins/simulator/fs9/fs9client.cpp @@ -73,6 +73,7 @@ namespace BlackSimPlugin // MSFS has inverted pitch and bank angles pbhstrct.pitch = ~pbhstrct.pitch; pbhstrct.bank = ~pbhstrct.bank; + pbhstrct.onground = newSituation.isOnGround() ? 1 : 0; positionVelocity.pbh = pbhstrct.pbh; // Ground velocity @@ -129,6 +130,8 @@ namespace BlackSimPlugin // MSFS has inverted pitch and bank angles pbhstrct.pitch = ~pbhstrct.pitch; pbhstrct.bank = ~pbhstrct.bank; + + pbhstrct.onground = situation.isOnGround() ? 1 : 0; positionSlewMode.pbh = pbhstrct.pbh; return positionSlewMode;