Profile image

Pitch deflections, funky trees

706 VicRattlehead  1.4 years ago

Hey! So I’m working on a very maneuverable jet. I was wondering if there was a way I could toggle a “stable” mode for pitch. Like I could AG1 and it will pitch less for like landings or supersonic flight.

Current wing code=
Pitch + Roll + AngleOfAttack/35

Is there a way I could set these deflections to 50% or less with pressing a button?

  • Log in to leave a comment
  • Profile image

    Yeah the control surface seems to go limp @goboygo1

    1.4 years ago
  • Profile image
    28.3k goboygo1

    Hmm, perhaps it doesn't function when dividing by 0, try:
    (Pitch + Roll + AngleOfAttack/35) / ((clamp01(Activate1) * 2) + 0.1)

    1.4 years ago
  • Profile image

    If someone can figure out how to do the same with this rotator command it would be much appreciated

    sum(Pitch/15 + -PitchRate/2000) + sum(Activate8/10)

    1.4 years ago
  • Profile image

    If I don’t Activate 1 with that command the control surface doesn’t function correctly @goboygo1

    1.4 years ago
  • Profile image
    28.3k goboygo1

    (Pitch + Roll + AngleOfAttack/35) / (clamp01(Activate1) * 2)
    Should work, it clamps Activate1 between 0 and 1, then doubles it. That way your original input is unaffected when its off, and divided by 2 when it's on.

    1.4 years ago