Profile image

Is it at all possible to......

59.7k PapaKernels  3.9 years ago

I need some help, so with custom control surfaces you got everything you need, roll, pitch, and yaw but you cant simulate (at least from what I can tell) trim. What I want to know is if you can make a rotator have two input, in this case pitch and trim (realizing now that I can just use another rotator on trim but I'm this far already). If I can than tell me the code I can use ( I know nearly nothing about FT). Any help will be appreciated. (Please dont comment until you read the whole post, I dont need people telling me I can just have another rotator when I already figured it out)

  • Log in to leave a comment
  • Profile image

    @Astro12
    Dude, I’m just screwing about with a TF setup and struggled tuning the trim on the primary engine, bless you for this, ya saved me.

    2.6 years ago
  • Profile image
    101k Wallaby

    @PapaKernels nice

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Wallaby I figured it out. I wanted the rotator when I apply brake to have a greater range of motion, and I figured that puting in roll + (Brake/0.6) and I got it to the perfect angle. I saved 4 parts on my build but that 4 less part on the final build.

    3.9 years ago
  • Profile image
    101k Wallaby

    @PapaKernels Can you explain what you want in more detail?

    3.9 years ago
  • Profile image
    55.0k Astro12

    @Wallaby I just pointed out the simplest way.

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Wallaby can I make it more than 1? I'm using it for the airbrake/roll and I have it as
    Roll + (-Brake/1)
    And I just need it to go a tiny bit more ( probably about another half)

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Wallaby that's alot more than what I knew. Does brake still work tho?

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Cyan to be honest I didn't even look at the name I saw gold and I thought it was you.

    3.9 years ago
  • Profile image
    101k Wallaby

    Adding onto what @Astro12 said, his code (Pitch + (Trim / 5)) basically works like this:


    The rotator will set Pitch as its main output. Pitch all the way up = 1, Pitch all the way down = -1, Pitch neutral = 0.

    The rotators secondary output is Trim. It will follow the same nature as Trim on normal control surfaces. However, the /5 will place the Trims max output at 0.2 and its min at -0.2, since you are dividing the primary max output of 1 by 5. Basically 1 / 5 = 0.2 and -1 / 5 = -0.2.

    You can add as many control axis as the game includes (Roll, Pitch, Yaw, Trim, Throttle)

    You can change the max or min output either by changing the max or min on the rotator itself, or you can dive into the code and use parentheses to change the min and max individually by part (clamp helps a lot with this). You could also do both if you really wanted to.

    If youre confused I can try to clarify specific parts.

    +1 3.9 years ago
  • Profile image
    30.0k TriStar

    You mean astro12? @PapaKernels

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Cyan it worked! Thanks for the help!

    3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Cyan ok I'll try it as well.

    3.9 years ago
  • Profile image
    30.0k TriStar

    Idk lemme experiment with my simplesovief @PapaKernels

    3.9 years ago
  • Profile image
    55.0k Astro12

    Pitch + (Trim/5)

    5 - not necessary . The sensitivity of the trimmer will depend on this number. The more number - the less sensitive.

    +1 3.9 years ago
  • Profile image
    59.7k PapaKernels

    @Cyan do you know if I can do that?

    3.9 years ago