Well im trying to make a new plane but its turn radius at lower airspeed is ridiculously large(even worse than high airspeed), and i found adjusting flaps helps but its annoying to do.
i tried writing one myself but it just dont work or the flaps deploy angle isnt right causing the plane losing control, is there any ways to make flaps deploy angle is adjusted with the airspeed automatically.
Automated flaps
690 Stuktherandomdude
1.5 years ago
@Stuktherandomdude i kwon this comment was a long time ago e but I tried you code and the flaps went up not down.
@Stuktherandomdude ah thank you i appreciate it
@XxRxX Well i got it
lerp(VTOL=-1, clamp01(VTOL), inverselerp(LowerValue, UpperValue, IAS)
this will control the VTOL linear with speed, simply switch LowerValue with the max speed you want the flaps to be fully deployed and UpperValue with the speed you want the flaps to be fully retracted.However if youre going to apply it on the control surface or hinge rotator you will need to do this
VTOL=0 ? Autoflaps : clamp(VTOL ,-1 ,0)
, where Autoflaps is the last line of command which i putted in variable setters.@hpgbproductions welp that helps alot
thanks for the help
@Stuktherandomdude if you just want linear control
@hpgbproductions that helps, thx
however how i make the flaps adjustion linear with funky trees
@Stuktherandomdude ok, i understand. Here's an easy way to make any auto control, not just flaps:
- find flaps angle required for many different speeds
- use a curve fitting software (e.g. microsoft office graphs) to convert your data into a smooth curve
@hpgbproductions well its more like because its heavy and large with a pretty high wingload but its a Intercepter so high speed maneuverbility isn't really the issue, but it cant produce enough lift at lower airspeed, so i want auto flaps
If your turn radius is big at any speed, your plane either has too small wings and/or too small control surfaces
@XxRxX i will, im also trying to make one without it freaking out, will notify you if i got it.
me when 2km turn radius at any airspeed:
I'm looking for this too
Tag me please if you find anything