Constraints Icon Auto-rig

The Auto-rig is now smarter than ever. It actually replaces most of the older IK and Bézier IK buttons. It’s only one button for all the stuff! You just have to select some Structures, and let the Auto-rig do the job, in a single click. Most of the time, it will work out of the box without any need to configure anything, but of course, if you have some tricky special cases, you’re still able to adjust the inner machinery.

The Auto-rig in Duik Bassel is a versatile and smart tool which adapts to a lot of different situations. This makes it the cornerstone of the rigging process in Duik, which can be summarized to:

  1. Create Structures
  2. Auto-rig
  3. Extract Controllers
  4. Animate

As a smart tool, it will guess what you are trying to do, depending on the layers you have selected. It is able to add some “simple” IK or to rig a complete character in a single click.

Note

The Auto-rig is a tool in constant evolution. In each future version of Duik, it is going to work better and better, handling more different situations.

Rigging GIF

To get started quickly with this process, just watch this jumpstart by Jake In Motion:
YOUTUBE

Using the Auto-rig

  1. Select some layers in the composition.
  2. Click the Auto-rig & IK button.

    • If there are Structures in the selection:

      • If there are predefined limbs (arm, leg, spine or tail), the Auto-rig will rig everything for you, so you can start to animate right afterwards.
      • If the Structures are custom Structures, the Auto-rig will add IKs to rig them, determining which type of IK would be the best according to the number and location of the layers.
    • If there are Controllers in the selection:
      The auto-rig will use them when possible, depending on their location, instead of creating new ones. This is an easy way to use your own custom controllers (you just have to make sure they’re tagged.)

    • If the selection is made of standard layers, the Auto-rig will add IKs to rig them, trying to guess how they need to be rigged using their parenting and the location of their anchor points. If the layers are not parented yet, the Auto-rig is able to parent them automatically, but it’s better in this case to select the layers in the right order: from the tip to the root of the limb (from hand to shoulder, or from foot to hip…).

Autorig GIF

IK and FK

The most important constraints used by the Auto-rig to rig characters are IK and FK.

Constraints Icon Inverse Kinematics (IK)

IK is a way to animate limbs by moving a controller located at the tip of the limb (i.e. at the hand or at the foot).
This means that animating with IK uses positions, which are interpreted into the rotation of each part of the limb. This seems very natural when one manipulates it, but it is actually an advanced process. It is invaluable when the hand, or the foot, have interactions with anything else (like the foot interacting with the ground when the character walks).
IK are the only way to animate the position of the hips while keeping the feet stuck on the ground, or the hand against a wall.
But as animating with IK means animating positions, it is actually not the easiest nor the smartest way to animate limbs. It’s needed when there are interactions, but in any other case (most of the cases for arms), you should prefer animating with FK.

Arm Animation
Animation by Jissse
In this animation, you can see how the “hand” is animated independently from the “shoulder”, which both animated using positions, without any rotation keyframe. This means that, for example, the hand can be fixed while the shoulder moves.

Constraints Icon Forward Kinematics (FK)

FK is the most simple way to animate limbs: all parts are parented together, and you just have to animate the rotations of each parts. Rotation is way easier to animate than position: there’s only one value, one axis, and you don’t have to adjust trajectories, you can focus on speed and eases only. Ususally, when animating with FK, the animator wants to add follow-through and overlap. As these are very common in animation, FK controls created with Duik include an automatic follow-through and overlap tool.

IK / FK

As both IK and FK can be useful, all IK created with Duik also include FK controls, and the animator can switch between FK and IK whenever he wants. The FK controls included in the IK effects even include an automatic follow-through and overlap.
To make this process the easiest possible, an IK/FK Switch tool is provided with the animation tools.

When the Auto-rig creates an IK / FK, it can be adjusted in the effects of the corresponding controller. The type of the IK can vary depending on the type and number of layers which were rigged.

One-Layer IK (shoulder rotation, single-layer spine…)

Two-layer IK (arms and legs…)

Bezier IK (multi-layer spine, tails…)

The Bézier IK uses a virtual Bézier path to control the position and the rotation of the layers. It is not actual inverse kinematics but it is called IK because the way to animate it is very similar.

This virtual Bézier path is an arc between the two extremes, controlled by tangents in the middle.

Two controllers are needed to control Bezier IK. One at the end of the chain, like with other types of IK, and one in the middle which controls the curve. On both of these controllers there are some options in the effects.

Main Controller (end)

Middle Controller (curve)

FK with follow-through, overlap and drag (tails…)

This constraint autommatically controls the rotation of all the parts of the chain, depending on both the animation of the rotation of the controller and the motion of the parent of the chain. It rotates the children of the chain according the overlap and follow through animation principles. This means it mimics ropes, tails, hair, etc. with the ability to adjust their flexibility and the resistance of the air or water where they are.

Fish animation
Animation by Jissse
In this example, there is an animation only on the rotation of the FK controller, and the motion of the tails is generated by the automatic follow-trough, drag and overlap of the controller.

Controllers

As opposed to previous versions of Duik, the Auto-rig in Duik Bassel is able to create any needed controllers to rig the selected layers. You do not necessarily have to create them yourself first.

This being said, if you need or want to add and use a specific controller, you just have to include it in the layer selection before running the Auto-rig. It will automatically detect and use it. This is especially useful if, for example, you want to control two different IKs with the same controller.

Tip

Always have a look in the effects of the Controllers after having run the Auto-rig! Depending on what has been rigged, there may be a lot of options there.

Additionnal panel

The additionnal panel for the Auto-rig is divided in two parts: some options for the Auto-rig process itself, and some complementary tools.

Note

Available in Standard and Expert modes only.

Autorig additional panel

Options

Complementary tools

Note

Available in Standard and Expert modes only.

Hint

These tools mostly work the same way than the different IK buttons which were available with previous versions of Duik.

Read above for a description of the effects added on the controllers.