Profile image

a gear selector FT?

16.8k MarkTheDesignGuy  27 days ago

Hey guys, I need a little bit of help with funky trees (since I honestly have no idea how they work).

I'm working on an update of an old car I made, and I decided to rework the system used for gears. Previously, I used a simple pitch-based input (pitch up to go forward, pitch down to go backward, and the gear selector would simply be a control base using pitch), but I would like something more akin to a "Drive/Neutral/Reverse" automatic transmission.
Basically, I want something that, based on the position of a gear selector, will make the car go forward/backward or not move at all when using pitch. And finally would like a way to show the current gear, maybe on a label part.

I don't really know if all of this is possible (once again, I'm completely ignorant about funky trees :/), but I hope somebody can help.

  • Log in to leave a comment
  • Profile image

    @MarkTheDesignGuy excellent

    27 days ago
  • Profile image

    @OverlordPrime I tried this out and it works! All I need now is something to show the current gear on a label.

    27 days ago
  • Profile image

    @MarkTheDesignGuy something like
    round(liver input) = 0 ? (round(liver input) = 1 ? Forward input : (round(liver input) = -1 ? Reverse input : 0))
    There's definitely a better way to do this. But this is what came to my mind.

    +1 27 days ago
  • Profile image

    @OverlordPrime yeah, that's an idea I was considering, but I'm not so sure how to implement it on the actual engine (in my case, engines, since my cars use 2 jets to replicate the sound of an EV).

    27 days ago
  • Profile image

    Maybe a lever with custom input?

    +1 27 days ago