Profile image

Need an Automatic wing sweep with manual override code help!

1,520 Numbers2  one month ago

So I'm attempting to build my first automatic wingsweep fighter with a manual override and so I've asked ReinMcDeer for some help but his codes kinda work the only problem being is I need the wingsweep limited to 60° because any further back and the plane will explode.

Here's the code that works but will over sweep:
clamp01(ceil(smooth(Trim=0,.5)=1))=1?(GS-140):(1.25*Trim)

And here's the code with the 60° limit but my wings won't sweep back:
60/90clamp01(ceil(smooth(...clamp01(ceil(smooth(Trim=0,.5)=1))=1?(GS-140):(1.25Trim)-.25