Profile image

I am once again asking for your **coding** help

35.1k Icey21  2.1 years ago

Firstly, is there a way to auto activate flares? Like any code that will activate them once a lock is detected?
Lastly, does anyone have a reliable auto wing level code?

  • Log in to leave a comment
  • Profile image

    There is no FT function or variable for detecting a lock
    .
    Roll controller code from one of my builds, can be modified for pitch
    clamp(deltaangle(TARGET_ROLLANGLE, RollAngle) / SENSITIVITY, -1, 1) * MULTIPLIER
    TARGET_ROLLANGLE: 0 degrees for wings level.
    SENSITIVITY: The roll angle difference that causes the maximum input. In my build, it ranges from 15 to 30 degrees depending on speed.
    MULTIPLIER: Optional value scale.

    Pinned 2.1 years ago
  • Profile image
    35.1k Icey21

    @hpgbproductions cool, thanks!

    +1 2.1 years ago