How to rig this!


Hi everyone,

I'm working on a rig where I need this long rectangle to always stay connected to the centers of the two circular objects (cylinders). Each cylinder moves independently — one only along the X axis and the other only along the Y axis.

As shown in the image, I want the rectangle to remain attached at both ends no matter how the cylinders move.

How can I achieve this setup? Any ideas using constraints, drivers, or geometry nodes are welcome.

Thanks in advance


1 love
Reply
  • Blend replied

    025-05-02 191528.png

    1 love
  • Dwayne Savage(dillenbata3) replied

    There are a few questions that need to be answered first. Will box object be stretching to maintain connection? If no, do you want to control the max distance of movement by the rig or let the animator handle it? Does the box piece stay in the same position and only rotate to point to the 2 cylinders? Will it be the same movement every time? for example: when you push positive on the Y axis the one on the x axis automatically moves to the right. Then when you go down(negative on y) the X moves left. 

    1 love
  • Blend replied

    Hi,

    No need for stretching — I’m making it a loop animation. The first cylinder moves from 1.6 to -1.6 on the X-axis, and the second cylinder moves from 1.6 to -1.6 on the Y-axis. The rectangular part should stay connected to both of them and can rotate as needed, as long as it maintains its position so the animation doesn’t break.

    1 love
  • Martin Bergwerf replied

    So, if I understand this correctly, you want this:


    This is not really a Rig, btw, just a demonstration. If this is all you want, you could use this, but it's not flexible.
    If you're interested to see how this is done, here's a link to the .blend: https://drive.google.com/file/d/1e3rQKm9DV87Zx91LbyWl1ns7uBuelgCs/view?usp=sharing 

    2 loves