Profile image

InputController class for wings? Am I just dumb?

2,335 lordverminaard  1.9 years ago

All, I am jumping down the rabbithole of Funky Trees, and trying to build some simple code to get my feet wet, and I am trying to create some code that attempts to hold a specific pitch angle, and I have a wing selected, and for the life of me I cannot find the Input attribute anywhere. Under "Control Surface" I have an "Input ID" which is set to pitch, but I can't find where to edit the input for my code! Hopefully I am just doing something stupid but I would appreciate the help.

Thanks!

  • Log in to leave a comment
  • Profile image

    @lordverminaard
    No, wings just do that. It's quite annoying. They haven't changed that even after the Funky on the Input was added to the game.

    1.9 years ago
  • Profile image

    Okay I tried this again with a snippet of code that worked for pitch on the gyro, applied it to a wing control surface and it didn't work. Normally when you select properties for a part and the input will show "Funky", on the wing it just shows my code so it's not taking it. I have a screenshot but I can't figure out how to post it.

    1.9 years ago
  • Profile image

    @HuskyDynamics01 Okay great, thank you! I had tried to put my code there but it didn't operate correctly so I assumed it wasn't correct. Probably a syntax error on my part. Thanks again, I will keep trying.

    1.9 years ago
  • Profile image

    InputID is the one you're looking for. Does the same thing as the regular "Input" variable for other parts, just a different name.

    1.9 years ago