arctangent function (in degrees) vary between -90 and 90, you put a minus before so it goes from 90 to -90 -90<-atan(x)<90
as you want this to be used in a engine to max out thrust at "x" speed, you want the fuction to vary between 0 and 1, so you do this -0.5<-atan(x)/180<0.5 0<atan(x)/180+0.5<1
The point where the curvature of the function flips is when the thing inside the arctangent function is 0. So imagine you want that top speed to be 300kts, and the x is already converted to kts (1.9438*IAS if you're wondering), you do this 0<-atan(x-300)/180+0.5<1
When the speed is nearing the limit you set, the output of the function lowers just before it.
@SnoWFLakE0s yes, but when I use them on pistons, the throttle increase isn't smooth. When I increase the throttle it acts as if the throttle was way past it's upper limit. Why does this happen?
yes
@Sanada ok then
wait feature that were already there will be locked or there will be new features?
arctangent function (in degrees) vary between -90 and 90, you put a minus before so it goes from 90 to -90
-90<-atan(x)<90as you want this to be used in a engine to max out thrust at "x" speed, you want the fuction to vary between 0 and 1, so you do this
-0.5<-atan(x)/180<0.50<atan(x)/180+0.5<1The point where the curvature of the function flips is when the thing inside the arctangent function is 0. So imagine you want that top speed to be 300kts, and the x is already converted to kts (
1.9438*IASif you're wondering), you do this0<-atan(x-300)/180+0.5<1When the speed is nearing the limit you set, the output of the function lowers just before it.
I hope this helped
@asteroidbook345 Indeed, this was my favourite plane to pilot in FlightGear
@DickBrazen people hate to be told to do stuff
try adding wing panels on the underbelly, the physics work better that way, like this
beautiful
@SnoWFLakE0s I think the main formula is the one for the wings, the rest is basically safety programs
have you tried making original builds?
@DeidaraEnterprises what what?
@Notaleopard thanks mister
@vcharng it depends tho I guess
this is a cool body plan
@SnoWFLakE0s now that I'm thinking better, does this still fall within the challange's criteria?
@MBR6753 on my posts :v
@AerialFighterSnakes this does absolutely nothing a space shuttle does
@Pophead OH
@asteroidbook345 @NightmareCorporation you've got yourselves a worthy opponent
@Aeromen ME
confused screaming
@asteroidbook345 I just finished watching Evagelion, I'm not gonna live through that hype alone
@asteroidbook345 it is on my list of anime I might watch but don't feel like start watching
@asteroidbook345 oh no, jojo references that I don't get :')
@asteroidbook345 nani?
@WorldofWarships done
@asteroidbook345 indeed XD
Holy fuf this is delicious
Use a arctangent function
@WorldofWarships easy, forum
@Solarisaircraft thanks brotha
@WorldofWarships I feel like calling the weebs of SimplePlanes to unite
@larsy974 thanks pal'e
Why can't "false" be 0? It would facilitate coding a lot
@NFIGMT thanks m8
@destroyerP thx pardner
@GhosTerSix thanks pal'e
@SnoWFLakE0s thanks man
@SimpleFlow thanks a million brotha!
@ssenmodnar thank man
@cedblox332 it is very much like programming, if you can program in C, it's a piece of cake
@SnoWFLakE0s nvm I think I know what the problem is. By using the throttle as a multiplier within the the functions, the whole wave function contracts
@SnoWFLakE0s yes, but when I use them on pistons, the throttle increase isn't smooth. When I increase the throttle it acts as if the throttle was way past it's upper limit. Why does this happen?
@SnoWFLakE0s I found an issue. Why do sin and cos functions with a throttle variable inside them become twitchy?
@Solarisaircraft thx man!
Don't worry boys, the engineer is engihere
@USSR @WorldofWarships @FishMinerb thanks guys!
What is this apparatus?
@Saturnite thank you brotha
@Notaleopard no, Gunbuster