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.
@MarkTheDesignGuy excellent
@OverlordPrime I tried this out and it works! All I need now is something to show the current gear on a label.
@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.
@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).
Maybe a lever with custom input?