Profile image

Problem in the nozzles

1,552 Mrgoofy  1.8 years ago

So I'm creating a tank, and I'm now creating an exhaust, When I pitch back the smoke comes out but when I pitch up smokes doesn't come out, i want my nozzles to smoke when I pitch up, I keep inverting the Blasto Vtol, But it's still the same, How can I do it

  • Log in to leave a comment
  • Profile image
    1,552 Mrgoofy

    @ZeroWithSlashedO Ok it moves, Imma experiment on it more

    1.8 years ago
  • Profile image

    @Mrgoofy
    you're supposed to be putting that code only on the blasto vtol though

    1.8 years ago
  • Profile image
    1,552 Mrgoofy

    @ZeroWithSlashedO Why isn't my tank moving???!?!
    I've set the power my engine power to 20 And put it to abs(Pitch) I've also done the same to my Blasto Vtol

    1.8 years ago
  • Profile image

    @Mrgoofy
    I'm not really sure how I could simplify it more but here we go
    basically the engine is only able to be operated in one way, not two ways
    and since it's only be able to be operated in one way, only pitch down activates the engine, and not pitch up
    to counteract this, put abs(Pitch) on the input so the engine turns on regardless of whether you pitch up or down

    1.8 years ago
  • Profile image
    1,552 Mrgoofy

    @ZeroWithSlashedO please simplify it

    1.8 years ago
  • Profile image
    1,552 Mrgoofy

    @ZeroWithSlashedO I'm too dumb to understand this

    1.8 years ago
  • Profile image

    one reason is because the engines only support one sided input, which means it'll only pick up the positive value of the input, and not the negative
    and since pitch down is positive pitch input, it only picks up the input from the pitch down

    one way to fix this issue is using abs(Pitch) as the engine input
    what abs(x) does is it turns every value except neutral or 0 of what x is to a positive value
    so for example, if you pitch up 0.1 times the max value, it doesn't output the value as -0.1 (which is what it does without abs(x)) but rather as 0.1

    1.8 years ago