Profile image

how to make heading, 360° than -180~180

487 griges  9 days ago

please how?

  • Log in to leave a comment
  • Profile image
    487 griges

    goodluck ln your highschool!
    so, i think i need to learn coding first then
    thank you very much! @PlaneFlightX

    +1 7 days ago
  • Profile image
    50.5k PlaneFlightX

    @griges Ah, notepad++ is just a text editor. It's like the normal notepad built in to Windows but with a few more helpful features.

    7 days ago
  • Profile image
    487 griges

    @PlaneFlightX ...
    i didnt know anything about coding. i searched up whats notepad++
    if i want to use it, do i need to know some coding language or something? or it can be intuitively?? i assume notepad++ can make easier
    are there free lesson online thats start from scratch? can you recommend me

    7 days ago
  • Profile image
    50.5k PlaneFlightX

    @griges Sorry, didn't see your reply (please remember to press the reply button).
    I write almost all my variable and label code in notepad++ (label code is then copied to in-game while I write variables directly into the xml), and even then I frequently have multiple windows up for reference or transfer.
    I am actually still in high school, and almost all of my coding, Unity, and blender knowledge has come from this game, which I play as a hobby.

    +1 7 days ago
  • Profile image
    487 griges

    you code it ingame? or also like import from somewhere??
    are you a programmer or developer?

    8 days ago
  • Profile image
    50.5k PlaneFlightX

    @griges the SWL-10's code is very basic. The SWL-120's code is a lot better and fixes most of the problems with the SWL-10's autopilot, although it's a little more complex.

    +1 8 days ago
  • Profile image
    487 griges

    my mind was blown
    you weren't made a

    SimplePlane

    8 days ago
  • Profile image
    487 griges

    @PlaneFlightX yes like a year ago, or some

    8 days ago
  • Profile image
    50.5k PlaneFlightX

    @griges Were you looking at the SWL-10? I don't believe I made the SWL-120's heading code available.

    +1 8 days ago
  • Profile image
    487 griges

    yeah yours were too complicated 😂
    i was fiddling with FT and i thought... maybe i can make autopilot
    then i got these problems 😂
    but im happy anyway
    basic autopilot
    really basic
    not your basic 😂@PlaneFlightX

    8 days ago
  • Profile image
    50.5k PlaneFlightX

    @griges now I see where I went wrong lol. I don't use that specific code, my modified heading code is embedded in my autopilot heading code so it's more complicated.
    What are you trying to do with this code, anyway?

    +1 8 days ago
  • Profile image
    487 griges

    @PlaneFlightX thank you :D
    you use Heading+180?
    if Heading=90 it will be 270?

    8 days ago
  • Profile image
    50.5k PlaneFlightX

    Could also be Heading + 180
    I'm not sure which one has the desired behaviour you want, but try rimiha's and mine and see which one works for you.

    +1 8 days ago
  • Profile image
    487 griges

    @rimiha thank you so much! 👍👌

    8 days ago
  • Profile image
    10.4k rimiha

    Here's the FT expression that outputs Heading angle 0-360°

    (Heading+(Heading<0?360:0))

    +1 8 days ago