Profile image

How to Reverse this Funky Trees Input

23.7k BagelPlane  3.8 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
    500 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.4 years ago
  • Profile image
    41.7k rexzion

    rbuh

    3.8 years ago
  • Profile image
    23.7k BagelPlane

    @FairFireFight Can you help?

    3.8 years ago
  • Profile image
    23.7k 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.

    3.8 years ago
  • Profile image
    66.7k 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

    3.8 years ago
  • Profile image
    23.7k BagelPlane

    @SnoWFLakE0s

    3.8 years ago