Profile image

How to make rotor spin when PitchAngle ascends?

18.0k AtlasSP  4.2 years ago

For example:
The rotor rotates an additional 5 degrees each time PitchAngle increases by 5 degrees, but not more than 90 degrees.
Also how does the rotor can only be controlled when PitchAngle is below 0?

I don't know how to use Funkytree so if you can, please write me a full command.

  • Log in to leave a comment
  • Profile image
    18.0k AtlasSP

    I understand that PitchAngle is quite similar to angle of attack.
    sorry I'm confused between rotor and rotator, I mean exactly rotator @vcharng

    Thanks it worked! @Aarons123 @vcharng

    4.2 years ago
  • Profile image
    9,428 vcharng

    Uh, perhaps I should ask something before answering.
    Do you comprehend the term "PitchAngle" correctly?
    This is about AIRCRAFT pitch (i.e. nose up or down) not propeller or rotor pitch.
    I see you mentioning rotors and it's quite alarming, so I think it's better to ask beforehand.

    Now, assume that you know what PitchAngle does, and by "rotor" you mean "rotator"...

    "The rotor rotates an additional 5 degrees each time "...
    I assume you want a continuous output, not a step output as you are saying literally.
    The input "PitchAngle" maxs out at 90 so you don't have to worry about upper limit, so it's PitchAngle/90 and set the rotator max at 1.

    "how does the rotor can only be controlled when PitchAngle is below 0?"
    you need to funky tree the activation group.
    type "PitchAngle < 0" in the "activationGroup" slot.

    +1 4.2 years ago
  • Profile image
    16.4k Aarons123

    PitchAngle/90
    That should work. I also don’t know much FunkyTrees, I got this bit of code from another longer piece that someone created for me

    +1 4.2 years ago