Profile image

Angle of Attack air break

25.5k Mustang51  1.4 years ago

Hello,

I’m trying to make an angle of attack air break that will only start activating at certain angles of attack. I have figured it out for making the air break increase the higher the AoA but not how to make it increase only after a certain number of degrees. Can anyone help? Thanks!

  • Log in to leave a comment
  • Profile image
    25.5k Mustang51

    @hpgbproductions I figured it out now 👌🏼 This is the command line I needed:

    clamp01((2.5+AngleOfAttack)/-25)

    1.4 years ago
  • Profile image

    @Mustang51 I can't help unless you have a graph of airbrake over AoA

    +1 1.4 years ago
  • Profile image
    25.5k Mustang51

    @hpgbproductions yesss this is great! Thanks so much. Now just one more question, how can I make it that it then increases the more AoA is pulled but still only start after 2.5?

    1.4 years ago
  • Profile image
    25.5k Mustang51

    @hpgbproductions oh my god yes of course. I remember reading about that in a thread over a year ago but completely forgot till you just said. I’ll try it out and hopefully it works

    1.4 years ago
  • Profile image

    @Mustang51 aight i found the problem, AngleOfAttack returns values opposite of what's expected by us plane people, just like PitchAngle. Use this:
    AngleOfAttack < -2.5 ? 1 : 0

    1.4 years ago
  • Profile image
    25.5k Mustang51

    @hpgbproductions okay maybe I’m just an idiot but am I supposed to copy paste this whole thing into the “input” section? I tried that as well as removing and adding certain parts and it doesn’t seem to make it do anything, even just the AngleOfAttack>2.5 doesn’t do anything. When I lower the number to anything below 1, then it will activate but only when pulling negative AoA and if I reverse the sign to <, it only deactivated when in negative AoA. I feel like this doesn’t make sense for the input command with my limited knowledge of funkytrees. Sorry if I’m a bother with this but its really got me confused hahaha and I’m not the best with funkytrees as you can probably tell

    1.4 years ago
  • Profile image

    @Mustang51 try this
    AngleOfAttack>2.5 ? 1 : 0

    1.4 years ago
  • Profile image
    25.5k Mustang51

    Hmm this seems to only either make it activate whenever its positive or if its negative. If i wanted it to activate only after 2.5 degrees of angle of attack, what would i type in? @hpgbproductions

    1.4 years ago
  • Profile image
    25.5k Mustang51

    Thanks so much! I will try this out now @hpgbproductions

    1.4 years ago
  • Profile image

    Makes a step increase in input
    AngleOfAttack > TRIGGER_VALUE ? 1 : 0
    .
    AngleOfAttack<LOW | AngleOfAttack>HIGH ? 1 : 0

    +1 1.4 years ago
  • Profile image
    25.5k Mustang51

    Thanks for the reply. That is my issue though. I don’t really understand how FT works even though I do have a slight grasp on it and I can’t seem to find anything in the forum posts instructing on how to use FT that would make air breaks activate only after a specific AoA. I want it to work kind of like how you can make an engine activate only after 95% throttle but instead make it an air break and instead of throttle, make it AoA. If you can help anymore with making the FT formula for that, I would greatly appreciate it :) @hpgbproductions

    1.4 years ago
  • Profile image

    Only if you have a formula for it
    If you can express the airbrake input as a formula, it's easy to convert to FT

    +1 1.4 years ago