Okay, I hope I can make this clear enough. I’ve included a sample Blend file for folks to play with.
I’m trying to rig the leg of my robot. So, the blue box rotates on the piston separately, easily done. It’s hollow and the yellow box is an insert.
Now, when the yellow box underneath rotates on the piston, I need everything underneath it to rotate with it. In this case, the red and the green parts. Easily done by parenting a few bones together.
Now, this is where it gets interesting. I want to be able to slide the red part back and everything above it moves with it. It’s as if the red and green parts are connected on rails.
This is where it gets even more fun. Try to imagine another piston, this time going vertically through the yellow, red, and green parts. Now, the red and the green parts need to rotate on this piston together, because, as I said, they’re “connected” by rails. This rotation is only a very small one.
How in the heck do I set up something like this?
I’ve been trying to have separate bones for each of the boxes and parent the green and the red to the yellow so it copies the X rotation, but I need another bone or an empty to drive just the Z rotation of the green and red parts together. Since the red part needs to move backwards, I can’t parent the yellow bone/box to that as then it moves the green part because the green part is parented to the yellow box for the main piston rotation. ARRRRRGH!!
Or do I also just use a driver to rotate the green part based on the rotation of the yellow box somehow?
I just linked another image of the actual robot and it looks like the vertical piston/rotation comes from the back of the red part.
This has my head fried! I’ve only ever done some super simple rigging before, and a long time ago, so any help on this setup is really appreciated.
Rig_solution.blend (850.9 KB)