I actually did that for a long time on engines until I realized if you needed to change the angle of something bendTarget would screw it up, and the hinge.isLocked would then generate all these directsolvers and everything would go to hell. I usually only use it on driveshafts for wheels and gearboxes and stuff because angles aren't so important there.
What exactly do you mean by "glitching around inside the cylinder"?
Yeah, there are only 2 walls holding each cylinder and the middle walls hold 2 cylinders each. I got rid of the space between pistons to make them bigger, so I could get better power from a smaller engine (although this certainly is not a small engine xD)
You mean like the pistons turn sideways in the cylinder? That's easy to fix. Just put a hinge on the piston with 1e-30 hingeconstant, autobrake and +inf torque
You could just use my CVT or dissect my code to figure out how to build one yourself
Anyway, you did good. Don't use negative damping in truck engines, use spawn or change the spring length. It'll give you more torque at low revs which is what you want in a truck.
I'd like to put a CVT in this and then reupload it... can i do that?
The suspension is hopelessly broken. The dial flails around and is useless and the suspension just collapses. lol i'll put a CVT in it and fix the suspension if ya want me to
The engine is broken too. It doesn't throttle up when I press the accelerator