Profile image

Help!(funky trees)

88.7k winterro  1.3 years ago
6 downloads
No Tags

So i was coding in simpleplanes (variables, when i tried to make my walker go back to idle position, forwards : Pitch ? 1 : 0 works, but -Pitch ? 1 : 0 somehow does not ,can someone explain why the latter one does not work? I made a label ato test both workings, the positive ones work, the negatives do dot, can you help me to let the negatives work?

I want this label to say True when pitch works both ways

General Characteristics

  • Created On Windows
  • Wingspan 1.7ft (0.5m)
  • Length 8.2ft (2.5m)
  • Height 4.1ft (1.3m)
  • Empty Weight 573lbs (260kg)
  • Loaded Weight 573lbs (260kg)

Performance

  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 262

Parts

  • Number of Parts 3
  • Control Surfaces 0
  • Performance Cost 33
  • Log in to leave a comment
  • Profile image
    88.7k winterro

    @SemedianIndustries Pitch <0 ? 1 : 0

    +1 1.3 years ago
  • Profile image

    Np
    (If I helped)

    1.3 years ago
  • Profile image

    @winterro what was the solution?

    1.3 years ago
  • Profile image
    88.7k winterro

    Ah, thx for the help you guys, i finaly figured it out !@ThatRandomCouchPotato @SemedianIndustries @Timplanes

    1.3 years ago
  • Profile image

    Have you tried =>
    I’m running out of ideas

    1.3 years ago
  • Profile image

    @winterro I'm out of ideas

    1.3 years ago
  • Profile image
    88.7k winterro

    @SemedianIndustries already tried the > and >=

    1.3 years ago
  • Profile image
    88.7k winterro

    @SemedianIndustries
    you put pitch in without any numbers or anything behind it it works+1/-1 , type anything more than Pitch and it will react to only +1/0 inputs

    +1 1.3 years ago
  • Profile image

    does using > or >= make a difference?

    1.3 years ago
  • Profile image
    88.7k winterro

    @SemedianIndustries already tried

    1.3 years ago
  • Profile image

    are you using parenthesis?

    1.3 years ago
  • Profile image
    5,464 Timplanes

    Maybe try this: Pitch = -1 ? 1 : 0
    or… Pitch < 0 ? : 0

    1.3 years ago
  • Profile image
    88.7k winterro

    @ThatRandomCouchPotato does not work

    1.3 years ago
  • Profile image

    Maybe you have to do this:( Pitch ? -1 : 0 )

    +1 1.3 years ago
  • Profile image

    Pyton logic moment.

    +2 1.3 years ago