Profile image

How to make plane engine die at certain altitude

229 DerAtomherbst  2.2 years ago

I want to make my planes engine die at certain altitude and then start back up again after going back below that altitude

i want my planes to have a service ceiling

  • Log in to leave a comment
  • Profile image
    2,747 Madness

    Altitude>altitude in meters ? 0 : Throttle

    Pinned 2.2 years ago
  • Profile image

    @FeatherWing

    i know this, but in simpleplanes, it is all in the engine

    2.1 years ago
  • Profile image

    @Madness
    thanks bro

    it works and now my plane cant go to space

    +1 2.2 years ago
  • Profile image

    @CarrotSlicingCompanyCat

    if remaking tetris is possible in simpleplanes, then making a plane with a service ceiling is possible too

    +1 2.2 years ago
  • Profile image

    thanks guys for the code, ill try both of them

    2.2 years ago
  • Profile image
    29.4k Nerfaddict

    Throttle * clamp01(Altitude > altitude in meters)

    2.2 years ago
  • Profile image

    @CarrotSlicingCompanyCat its easy, i can even kill my engine facing certain directions/pitch angle

    2.2 years ago
  • Profile image
    22.7k FeatherWing

    Could possibly be wrong, but I don't think it's your engine that determines your service ceiling. Your engine would probably die at altitude when there isn't the air to keep your engines working, which is probably something like low earth orbit.
    From what I know, service ceiling is determined by the altitude where the aircraft gets to a certain elevation and can no longer generate lift due to the air being too thin relative to the design, weight and other factors.

    2.2 years ago
  • Profile image

    @CarrotSlicingCompanyCat If you don't know, don't answer, because he can do it. but maybe he just saw your comment first and now thinks its impossible.

    2.2 years ago
  • Profile image

    @CarrotSlicingCompanyCat
    It...
    Is.
    And it's pretty simple.
    For example, if you want a service ceiling of 20.000m, you need to put exactly what @Madness said in the engine's input, which is:
    Altitude>20.000 ? 0 : Throttle

    +1 2.2 years ago
  • Profile image
    35.1k MrCarrot

    Sorry but it’s not possible

    2.2 years ago