I am working on a project to simulate a hydraulic cylinder extending and contracting. It is working against a lever on a pivot, which means that one end (the ram) needs to be constrained to the pin on that pivot, while the other end (the cylinder) needs to remain at a fixed location but pivot along with the ram.
I'm sure this can be accomplished with a variety of object modifiers, but I'm having a really hard time working it out.
Notice how the origins for the ram and the cylinder remain in the same general location (cylinder fixed to frame, ram fixed to arm).
I should also mention that this is an approximation of the project I'm actually working on.
The title is just one idea I have. To create a 2-point path and use the
follow path constraint to keep the ram and cylinder aligned to it. The one place where I can't figure out how to make this work though is how to anchor just one path vertex to one end, and the other to the other end, causing it to scale and rotate according to the anchor points, where one anchor point is fixed and the other moves with the arm.