Profile image

How to Reverse this Funky Trees Input

24.1k BagelPlane  4.3 years ago

So I've found this code that delays landing gear going up:
LandingGear * floor(smooth(clamp01(LandingGear), LandingGear ? 1 / 9.25 : pow(10,10) ))
I'm using it to delay my gear doors so that the gear has time to go up, and the doors don't push through the wheels. Now I need it reversed with a 2.5-second delay so that the doors have time to open, and then the gear comes out. I can't figure it out, so some help would be great! Thanks!

  • Log in to leave a comment
  • Profile image
    508 PvtJok3r

    I know this is an old post but try these...
    floor(smooth(clamp01(LandingGear),0.25))
    ceil(smooth(clamp01(LandingGear),0.25))
    I forget which goes on which but it’s what I’ve used in the past and it works perfectly.

    3.9 years ago
  • Profile image
    44.3k rexzion

    rbuh

    4.3 years ago
  • Profile image
    24.1k BagelPlane

    @FairFireFight Can you help?

    4.3 years ago
  • Profile image
    24.1k BagelPlane

    @SnoWFLakE0s Thanks for the help, but I just tested the code on mobile and PC and the gear didn't work. it didn't budge or anything. I'll see what FairFireFight can do if you'd like me to not bother you lol.

    4.3 years ago
  • Profile image
    67.1k SnoWFLakE0s
    clamp01(((-(pow((smooth(clamp01(LandingGear) , 1/X)/0.4)-1.25, 2))) + 1.55 )
    

    Also I'm lazy so @FairFireFight might be able to help

    4.3 years ago
  • Profile image
    24.1k BagelPlane

    @SnoWFLakE0s

    4.3 years ago