Profile image

how do you limit the pitch of the roll elevators using funky trees code ?

169 aeaeaeaeae  1.5 years ago

so how do i actually code the funky trees on my roll elevators beacuse i was trying to make a plane but when it reached speeds of IAS 400 MPH, it rolled to fast and it's hard to manuver the plane

  • Log in to leave a comment
  • Profile image

    yo guys how do i make a rotator spin 360 while loop beacuse i cant make the funky trees for it

    1.5 years ago
  • Profile image
    1.5 years ago
  • Profile image

    @XxRxX eh it wont be used that much but it still helps

    1.5 years ago
  • Profile image
    1,605 XxRxX

    @aeaeaeaeae there's also this thing

    throttleResponse

    It simulate engine acceleration
    Should be useful

    1.5 years ago
  • Profile image

    @XxRxX thatnks for the help mate now it can go super fast and also yes i like funky

    1.5 years ago
  • Profile image
    1,605 XxRxX

    @aeaeaeaeae you really like using funky don't you

    You can just put another engine behind it that only enables at full throttle

    Throttle>0.99

    This is simple way of getting afterburner

    +1 1.5 years ago
  • Profile image
    1,605 XxRxX

    @Korzalerke2147483647 higher you go thinner the air gets therfore lowering your air speed or your speed relative to air, now gs will increase :
    You can go faster because there is less air resistant, but your wings lose lift and your control surfaces will stop working as a result

    Tho perhaps using GS is better anyway
    I wasn't thinking clearly when i posted previously

    1.5 years ago
  • Profile image

    also how do i code an engine to get afterburners at 100% thrrotle ?

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 true lol i picked IAS beacuse it can adjust to actual speed and altitude is confusing that is why i asked for help lol

    1.5 years ago
  • Profile image

    @aeaeaeaeae Huh.

    Maybe I should look a bit more into how the airspeed types in this game work, it's a bit confusing.

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 i switched to IAS

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 i dont know beacuse when i flew at 35.000 ft it slowed down by 1 mach

    1.5 years ago
  • Profile image

    @XxRxX yes

    1.5 years ago
  • Profile image

    @aeaeaeaeae Worth noting that for screens or gauges you should still use IAS, since (at least from my undestanding) that's more accurate to how real planes display your airspeed.

    1.5 years ago
  • Profile image

    @XxRxX IAS doesn't count your higher airspeed at higher altitudes and counts wind speed, GS is the exact same as TAS, except TAS counts the wind speed, meaning it counts the simulated air from the wind speed settings (which nobody ever uses tbh but I usually use GS to avoid problems with code that requires you to be moving above or below a certain speed to activate).

    Also less airspeed? Wdym? I've only seen planes go faster as you rise up, unless you try to fly into space.

    1.5 years ago
  • Profile image
    1,605 XxRxX

    @aeaeaeaeae the faster you go more air drag /resistance you have
    Meaning how faste you can turn /roll/yaw etc... Is directly effectd by your air speed or the speed of air passing you (the wings here)

    Here another example :

    (You can swim in water but if you jump in water from a hight and hit it fast it resist movement behaving like solid matter)
    Have you ever held your hand outside of a moving car to play with the air?
    See the connection?
    This is like simple Physics they teach in kindergarten

    Yeah game is kinda realistic.
    Hope this gives you a better understanding of how game is coded.

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 nvm got it to work

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 god what am i doing also is this correct ?

    Roll*lerp(1,4,GS/278) + clamp01(-VTOL) + -Brake

    1.5 years ago
  • Profile image

    @XxRxX btw the plane rolls fine on slower speeds just on high speeds the cnotrol is hard to manuver

    1.5 years ago
  • Profile image
    1,605 XxRxX

    @Korzalerke2147483647 using air speed is better
    Air speed takes drag and lift into account
    In higher altitude you have less air speed and your controls are less responsive so you need less limitations

    1.5 years ago
  • Profile image

    @Korzalerke2147483647 thanks for the code il test it and try to fit the code to the current motor system also sure i ma change the speed frmo IAS to GS

    1.5 years ago
  • Profile image

    @XxRxX im trying to learn funky trees but im still testing the codes on it

    1.5 years ago
  • Profile image

    Use Roll*lerp(1,0.2,GS/178), this will make the elevator move less as the plane approaches 178 meters per second (about 400mph), but never below 1/5 its normal angle so you can still roll.

    Also when coding it's usually better to use GS instead of IAS, because it accounts for speed differences at higher altitudes and isn't affected by the wind settings.

    1.5 years ago
  • Profile image
    1,605 XxRxX

    If you have very low roll in low speed and very high roll in high speed this is just a design flaw, you don't need funk to solve it.

    Still if you want to shove it under the rug take a look at funky guide
    It's more fun if you do it yourself

    1.5 years ago