Is it possible to rig this robot with a telescopic arm?

Rigging, animation, import/export of characters, props and cameras comprehensive tool set for After Effects.
Forum rules
Please read these rules and advices before posting.
  • Before you ask any question about a tool, to avoid duplicates, please:
    1. Search for a solution in the available documentation for the tools.
    2. Some video tutorials and quicktips are available.
    3. You can make a search to see if your question has already been asked.
  • Thank you for giving a detailed and precise title to your topics, to help searching in the future.
  • We're very few people to manage this forum, please be patient if we're a bit long to answer.
  • Don't hesitate to answer to other people's questions! The goal of this forum is not only to have the Rainbox team answer users' questions, but to have everyone sharing and helping each other.
  • Finally, please always be polite, and keep in mind that all we want is sharing techniques and knowledge, helping each other.
Post Reply
Posts: 1
Joined: Thu Oct 31, 2019 1:48 pm

Is it possible to rig this robot with a telescopic arm?

Post by Gangster » Thu Oct 31, 2019 2:11 pm

I'm quite new to Duik and I'm very excited about this tool.
However, I need to rig a robot with a telescopic arm and I just don't get there. Is it even possible?

Please see my sketch attached. The lower arm is fixed (it should just rotate around the Y axis later on). The middle arm can rotate round the Z axis in both ends. And the four arms to the right should be telescopic (and not bend like a tail - it's always straight of course). As you change the position of the head, I want the telescopic arm to became longer or shorter, when the different arms should move equally in/out relative to eachother.


Best regards // Björn

User avatar
Posts: 912
Joined: Mon Jun 20, 2016 2:59 pm

Re: Is it possible to rig this robot with a telescopic arm?

Post by Duduf » Fri Nov 01, 2019 7:39 pm

Hi Björn,

I think this is doable with Duik and a few expressions.

Here what I would do:

- Create a structure with three parts
- add IK / autorig the two upper parts only (as the root won't move). You get your controller for animating the arm
- Create a new Structure with four parts
- Move it above the third part of the previous Structure, where the arm is telescopic. To make it easier with the expressions later, be careful to move and rotate only the first part of this new structure to align the whole structure to the arm. DO NOT manipulate the 2nd, 3rd and 4th part yet!
- Parent the first part to the arm
- Only then adjust the 2nd, 3rd and 4th part by changing ONLY the X position, keepin Y at 0.
- Separate the dimensions of the 2nd, 3rd and 4th part.
- Add an expression in their X position to move these parts.

The expression should be something like this (not tested)

Code: Select all

var controller = layer("controller");
var lowerArmLength = controller.effect("IK | Hand")("Upper length");
lowerArmLength = lowerArmLength + controller.effect("IK | Hand")("Upper stretch");
lowerArmLength * 0.25
You'd just have to change the multiplicator at the end, depending on the placement of the part you want. You could even replace it by a slider to be able to adjust it.

Posts: 2
Joined: Sat Nov 30, 2019 7:59 pm

Re: Is it possible to rig this robot with a telescopic arm?

Post by Tracker115 » Sat Nov 30, 2019 8:42 pm

Thanks for the explanation, this is pure gold to me! I was struggling to create a robotic-like animation and that will definitely help.

Post Reply