So i was looking for a way to simulate an automatic transmission then i saw this.
https://www.simpleplanes.com/a/r36Yui/Working-Manual-Transmission
(the owner on this post doesnt respond to my question so i posted this forum)
i downloaded the post then copy the engine's input controller then pasted on the another engine of my build, but the engine wont work.
here is the code
RPM < 600 ? clamp01(Pitch) * (GearRatio/3) : (GearRatio > 0 ? -0.6 : 0.6)
someone tell me how to make it work on the other engine
Pls help me im still a begginer🥺
(sorry about my english)
So turns out it did in fact work, and spent all day coding an automatic gear changer, which works well. I could post the test vehicle if youd like so you could copy the xml variables yourself if youd like
@Red920 Oh I think I figured out how we can make it work.
So the controller uses variables, and they don't carry over between vehicles, so you'd probably need to copy over all the variables into the new build.
I'll see if that works tomorrow and inform you of the results
@Griffon1 have you tried downloading the car on the link? I doesnt have a lot of parts.
here is the engine FT controller
RPM < 600 ? clamp01(Pitch) * (GearRatio/3) : (GearRatio > 0 ? -0.6 : 0.6)
I've actually been trying to do this myself, since Ive been looking to make a working transmission
The thing is, I'm not an absolute wizard with Funky Trees.
If I was to guess, I would say it would have to have extensive use of PID controllers to achieve the different gear ratios.
But as I said, Im not a wizard so I dont know how to make those.
If there was an easier method I'd love to hear it.