Intro
I've been working on my SU-34 landing gear and I don't really understand how the funky trees work. I really hope someone could explain to me how the funky tree delays work, or can provide me with a code that can be easily tweaked to adjust the landing gear delay time before going up and before going down?
Code That I use
Landing Gear Doors:
-clamp01(ceil(smooth(clamp01(GearDown), 0.22)))+1
Only delays when the landing gear is going up by quite some time
Landing Gear:
clamp01((smooth(LandingGear, 1) -0.7) / 0)
Only Delays when the landing gear is going up but just by a bit
Landing Gear hinges that allow the landing gear wheels to turn:
clamp01((smooth(LandingGear, 1) - 0.000001) / 0)
Only Delays when the landing gear is going *down8 by a short time
In short
Can someone provide me with a code that can be easily tweaked to adjust the landing gear delay time before going up and before going down?
Screenshots/Teaser for the SU-34
Landing gear doors
Anyways thanks for helping! :)
@YoDudeChase thanks!
Apologies I wasn't active to respond to this when you posted it, I didn't have the answer anyway. Good luck with the build :)
@SnoWFLakE0s Ah I see, thank you
@Kangy
.
Not necessarily time, but instead the smooth section's output. Sort of.
@SnoWFLakE0s With the demos graph, I presume the x-axis is the time, and the y-axis is the input / output?
@Fox00One thanks
@tucan ur welcome
@GuyFolk thank you for your help
Oh wow
@ALRX
You can use
@ALRX thanks
basically how to make a delay before the landing gear goes down?
@GuyFolk I already understand the delay before the landing gear goes up, but I still don't understand how to make the delay before the landing gear goes down from the youtube video
floor(smooth(clamp01(LandingGear), 1/0.5))
@ALRX
I used exactly what SnoWFLakE0s said.
Although my code is a bit messy lol.
@SnoWFLakE0s thanks for your help I will look into that!
Here's something for doors that open then also close:
https://www.desmos.com/calculator/j3wlgr4mui
Generally you use smooth() to create a linear progression then add some sort of comparative operator to check when that progression reaches a certain threshold so you get the right sync times.
You could also change up this code format to work with GearDown.
People who wished to be tagged
@Fox00One
@tucan
@CaptainSquadronLeaderX
@WiniMii
@Gro
@YoDudeChase
@SnoWFLakE0s
@GuyFolk
I think you guys can help me