Profile image

Funky Trees Help needed

7,219 JBPAviation  2 months ago

So I'm trying to make a cool opening mechanism to open the canopy of my new plane but I can't code Funky Trees to save my life...

The idea is that 1 goes first and then 2 (after some delay) once AG1 is activated but once AG1 is deactivated, 2 should go first and 1 should be delayed before going.
Something like that if it makes any sense...

  • Log in to leave a comment
  • Profile image
    7,219 JBPAviation

    @HNL47 I just realized it's not entirely right. Phase 1 doesn't have a delay once AG1 is DEactivated.
    I tried to put in a delay but my brain hurts at this point 😖

    2 months ago
  • Profile image
    12.7k HNL47

    you're welcome

    +1 2 months ago
  • Profile image
    7,219 JBPAviation

    @HNL47 Oh ok! That makes sense. Thanks 😀

    2 months ago
  • Profile image
    44.1k Graingy

    Sounds like custom landing gear to me.
    A fairly simple one, that is.
    There's already an answer which is probably way better than anything I could bring, though.

    2 months ago
  • Profile image
    31.9k 32

    @HNL47 very smart way of doing that

    2 months ago
  • Profile image
    12.7k HNL47

    First of all go to the variable setter and add the following variable:
    "openedCanopy" and set it's value to clamp(sum(0.3 * Activate1),0,1)


    For 1: Activate1
    For 2: openedCanopy > 0.6

    +1 2 months ago
  • Profile image
    7,219 JBPAviation

    @YarisHatchback I feel like you know most people on this website lmao
    Who's the Funky Trees guy around 'ere

    2 months ago