@Monarchii thank you so much i didnt know how to and i didnt read hpgb sorry but thank you so much for explaining it im making an airliner and i needed that info
like hpgb said, but since you asked i might as well explain...
smooth function works by slowing down the rate/speed of the input, and it works like this:
smooth(input,speed)
that's it! so for example, if I were to do it for flaps, i would do it like: smooth(VTOL,0.3), and now let's talk about how to limit it...
to limit an input, you would use the clamp function, how does it work?
.
firstly, let's establish how it would look like, which is: clamp(input,-x,x)
.
now let's say theoretically you have a rotator with a 180° rotation range..
.
by using clamp(VTOL,-0.2,0.1), you've basically limited the rotation to 36° to one side(because 36° is 0.2 of 180°, the - sign is needed because its the opposite of positive), and 18°(because 18° is 0.1 of 180°), any questions?
@SovietMalxer if you want to see an example of flaps on control surfaces, i suggest seeing the variable tab on one of my [PEA] planes ( ^ ~ ^ )
@Monarchii thank you so much i didnt know how to and i didnt read hpgb sorry but thank you so much for explaining it im making an airliner and i needed that info
like hpgb said, but since you asked i might as well explain...
smooth
function works by slowing down the rate/speed of the input, and it works like this:smooth(input,speed)
that's it! so for example, if I were to do it for flaps, i would do it like:
smooth(VTOL,0.3)
, and now let's talk about how to limit it...to limit an input, you would use the
clamp
function, how does it work?.
firstly, let's establish how it would look like, which is:
clamp(input,-x,x)
.
now let's say theoretically you have a rotator with a 180° rotation range..
.
by using
clamp(VTOL,-0.2,0.1)
, you've basically limited the rotation to 36° to one side(because 36° is 0.2 of 180°, the-
sign is needed because its the opposite of positive), and 18°(because 18° is 0.1 of 180°), any questions?Try the smooth function