Is it possible to make a bone movable relative to another bone? My goal is to rig a hinge such as this one, where the middle rivet of arm A can slide in a slot on arm B:
I managed to rig a version without the sliding effect using inverse kinematics, but the movement of the entire hinge stops or flips to a wrong position, as the sliding would actually be necessary after a certain amount of rotation to keep on moving the hinge.
Maybe using an armature is the wrong way to rig such a thing? Thanks for any hints.