Gone back to modeling/rigging for so I can have assets for practicing on game engines.
This is the initial draft for a mech leg. One day on-off to set it up. I want to make sure there are no intersecting parts when the leg moves before I continue with the modeling. (Yes, if the leg is stretched too far, the hydraulics move past the joints' rotational axes, supposedly locking the joints. Just my OCD kicking in... >.>)
See the attached photo for the C4D setup.
The hydraulic cylinders are surprisingly easy to make in Cinema4d. All you need is a pair of joints. Chain the joints with an IK tag, and set the squash to 100%. You could also turn on the Clamp Distance to limit the travel. If you parent/constrain/weight your barrel to one joint and the piston to the other, they will align with the bone, and the squash will let them slide forwards and backwards.