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
@SemedianIndustries Pitch <0 ? 1 : 0
Np
(If I helped)
@winterro what was the solution?
Ah, thx for the help you guys, i finaly figured it out !@ThatRandomCouchPotato @SemedianIndustries @Timplanes
Have you tried =>
I’m running out of ideas
@winterro I'm out of ideas
@SemedianIndustries already tried the > and >=
@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 inputsdoes using
>
or>=
make a difference?@SemedianIndustries already tried
are you using parenthesis?
Maybe try this: Pitch = -1 ? 1 : 0
or… Pitch < 0 ? : 0
@ThatRandomCouchPotato does not work
Maybe you have to do this:( Pitch ? -1 : 0 )
Pyton logic moment.