Profile image

Is it possible for a Rotator and engine activating at a certain altitude?

35.7k Speedhunter  9 months ago

Is it possible to have a rotator turn and the engine activating at a certain AGL with the brake input?

Im building something that swivels an engine to reverse position when hitting the brakes

  • Log in to leave a comment
  • Profile image
    70.0k Monarchii

    @Speedhunter np (⁠ >▽< )

    9 months ago
  • Profile image
    35.7k Speedhunter

    It works now, Thanks very much @Monarchii

    +1 9 months ago
  • Profile image
    35.7k Speedhunter

    @Monarchii ahh, I see, thank you very much

    9 months ago
  • Profile image
    70.0k Monarchii

    but that should work also now that i think about it

    +1 9 months ago
  • Profile image
    70.0k Monarchii

    @Speedhunter more like AltitudeAgl>XX ? clamp01(Brake) : 0

    9 months ago
  • Profile image
    35.7k Speedhunter

    @Monarchii ahh I see, so it's like clamp01(AltitudeAgl>XX ? brake : 0) ?

    9 months ago
  • Profile image
    70.0k Monarchii

    @Speedhunter well rather, actually... you don't need to have the ,0,1 after clamp01, and actually, it would be something like AltitudeAgl>XX ? Brake : 0, how this works is basically, the game checks if said requirement(the altitude in this example) is fulfilled, if it is, it will input the Brake, if it is not, it will input none; the base code is A ? B : C, where if requirement A is fulfilled, the input will be B, else it will be C

    +1 9 months ago
  • Profile image
    35.7k Speedhunter

    So for the input it's Clamp01(Brake, AltitudeAgl>XX,0,1)

    9 months ago
  • Profile image
    35.7k Speedhunter

    @Monarchii ahh, I see, thank you, I should be ready to upload a video of the concept later today~

    9 months ago
  • Profile image
    70.0k Monarchii

    and oh, if it needs to be limited, use clamp01(Input), this'll allow for y'know, one way forward no way back

    +1 9 months ago
  • Profile image
    70.0k Monarchii

    use AltitudeAgl<XX, where XX is the altitude relative to the ground in meters, and < can be replaced by > if you need it to activate above said altitude

    +1 9 months ago