Profile image

Funky Trees! Q&A

67.1k SnoWFLakE0s  4.4 years ago

Hello builders!

It's been a bit since I've posted a build- although I am working on a project, it's taking a bit longer than expected. As a result, I've decided to make some intermittent content, something that might benefit the community.

This is a Funky Trees Q&A board. Post any questions you have about funky trees, particular code you need, anything related to FT. Make sure that they are specific enough that I can answer the question though!

I will be compiling a set of questions I think are notable and producing a simple video on the topic. Look out for it!

I'll be looking forward to all the different questions everyone has!

  • Snow
  • Log in to leave a comment
  • Profile image

    make sure to read the desc before making any changes

    5 months ago
  • Profile image

    i need help adding auto stab with funky tres to this

    5 months ago
  • Profile image

    how do you fire guns via throttle?

    +2 1.8 years ago
  • Profile image

    Hello, How to paste extra long codes into Overload without it being cut off?

    1.9 years ago
  • Profile image

    Hello, How to paste extra long codes into Overload without it being cut off?

    1.9 years ago
  • Profile image
    3,045 Fujisan

    @ReplicaBuilder1090 I've already created an FT code for that, please check out my post 'Parallax Angle Turrets'.

    +1 2.6 years ago
  • Profile image

    @snoWFLakE0s
    Hey I dont have any clue how to do funky trees but I need a auto targeting system for a backwards defensive turret for my IL-2 how can I do it or how can I get the funky trees code to do so?

    +4 3.8 years ago
  • Profile image
    51.4k JoshuaW

    @SnoWFLakE0s wow that was a fast reply and it really warmed my heart. In fact I just came out with a solution, check it out:
    https://www.simpleplanes.com/a/pz74eD/Autoaim-Turret-for-aircraft

    3.9 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @JoshuaW
    .
    First and foremost, welcome back. You've been a lot of inspiration for me thus far!
    Regarding automatic aim turrets under adverse movement conditions, there's been quite a few attempts so far (including myself). I believe this is a mathematical challenge because we're quite limited in the selection of data we have access to, but for example here is an attempt that uses Euler coordinates to make a system tilt proof (thus also not needing a cloud deck). However this one has the problem of having code that is far too long as well.
    Your approach using vector arithmetic sounds promising, but I haven't touched vectors in a long time to I'm quite rusty in that department so I'm afraid I can't offer you much assistance. I sort of want to say that a complete, perfect solution is actually impractical here, and an approximation of some sort would be more ideal-- collecting the data on the required angles for the Roll hinge and generating a regression model may be a possible approach to calculate the required correction.
    I'm sorry I couldn't be of much help. Good luck in your endeavors.

    3.9 years ago
  • Profile image
    51.4k JoshuaW

    Hi snowflakes, I'm currently working on a nose-mounted auto-aim turret for aircrafts.
    Unlike the existing groud-baesd models that use YAW+PITCH logic, mine uses a ROLL+PITCH logic, which suits planes better without needing a cloud deck.

    For instance I've finished the PITCH hinge, which rotates the angle between nose direction and target direction by calculating the dot product of two vectors, and that works perfect for me.

    However I'm having problems for the ROLL hinge.
    Without the ROLL hinge, the gun will rotate the right angle but not in the right direction(with tagert on my front left 30° and my plane level, the gun will rotate 30° upward).
    For instance I haven't figured out a good formula for the ROLL hinge. I have a vague idea using a series of corss product calculations of vectors, but that's niether clear enough in my mind nor seeming feasible with the poor FT(would take a hundred lines).

    Do you have any idea to help with my ROLL hinge?

    3.9 years ago
  • Profile image
    18.8k NexusGaming

    @SnoWFLakE0s I need a code so that when a weapon is angled at 90 degrees bomblets would be ejected

    3.9 years ago
  • Profile image

    @SnoWFLakE0s What's the basic code of auto trim through speed? I'm building a fighter jet and I want to make it stable so as not to keep on trimming manually. Oh, and I mean IAS.

    4.2 years ago
  • Profile image

    @BagelPlane thanks

    4.2 years ago
  • Profile image
    24.1k BagelPlane

    @Kakhikotchauri1 PID (0, PitchAngle, 0.65, 0, 0.1) Acts like a gyro, pulls the aircraft back level after pitch variation. Many need tuning depending on the aircraft’s size.

    +1 4.2 years ago
  • Profile image

    @BagelPlane can you give me your pre-set degree auto trim ?

    4.2 years ago
  • Profile image
    24.1k BagelPlane

    @SajabAerospace I'm working on auto trim also. So far it's working, but it only holds one pre-set degree. I need to figure out how to make it hold the current pitch angle, not a pre-set one.

    +1 4.3 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @ObliviousCed
    .
    Not necessarily in the sense that you mentioned, but you can bind different inputs to do the job. F doesn't really have a corresponding game input, so it's hard to do that particular case.

    4.3 years ago
  • Profile image
    1,899 ObliviousCed

    Is it possible to use other keys to activate rotators, like using the key F to make a wheel brake?

    +1 4.3 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @SajabAerospace
    .
    You'll have to use a PID controller, which takes a lot of manual tuning... You'll have to try and deal with that on your own.

    +1 4.4 years ago
  • Profile image

    @SnoWFLakE0s

    How do I make auto trim? I'm making a Typhoon and want to make it hold a constant pitch and roll angle when no pitch input is made. I've made something very basic with PitchRate but it oscillates up and down.

    4.4 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @MercuryCorporation
    .
    I cannot help you with systems that use physics glitches... FT is very much grounded in physics calculations. If you have a specifc behavior in mind I might be able to help.

    4.4 years ago
  • Profile image

    this is a two part question with application across the propeller engine builds.

    1). I'm wondering if the start characteristics can be replicated.

    Specifically, the start, miss, fire, cough, run thing that happens with a cold start.
    Effect:
    (rpm effect for 1st few seconds)

    2). Hand Crank Starter.

    Some A/C had an external handle that was inserted into the hole , cranked, and when the engine fired, stowed.
    Effect:
    (Rotator that spins with Activation for 5-10 revolutions then stops).
    Thanks in advance.

    4.4 years ago
  • Profile image
    9,819 z24zorpx4

    would you be able to help make this work?https://www.simpleplanes.com/a/RI05q5/walker-WIP-need-help-progress-made

    4.4 years ago
  • Profile image
    9,103 ZWLenning

    @Destroyerz117 thanks this actually answers my question too
    actually nvm it doesnt work
    i think because it is the sum of ALL inputs, not one

    4.4 years ago
  • Profile image
    19.3k Axartar

    @Destroyerz117 ok thanks

    4.4 years ago
  • Log in to see more comments