DUIK Bassel: Face rig - Modifying Paths

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 guides and documents.
    2. Some video tutorials are available.
    3. Maybe you can find an answer in the frequently asked questions (FAQ).
    4. 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
plshr
Posts: 1
Joined: Sat Sep 22, 2018 3:35 am

DUIK Bassel: Face rig - Modifying Paths

Post by plshr » Sat Sep 22, 2018 3:51 am

Hi there!

First of all big Thank You for your great job! You make lifes easier ;)

I’m trying to rig my character’s face and I do want to modify some shape’s paths. But I can’t figure out how to connect Path property to 2D Slider. It’s clear with X and Y position - each of them gets linked to a corresponding axis. But how to deal it with Path or even Rotation?

Here are extremes for bottom-left and up-right position. But unfortunately it doesn’t work well for modified paths at other positions of the controller.
8A17D170-4622-449B-B074-B4E4CE91311A.png
8A17D170-4622-449B-B074-B4E4CE91311A.png (78.43 KiB) Viewed 191 times
CEFF27D3-473F-4ECF-86B9-C0238A864F1F.png
CEFF27D3-473F-4ECF-86B9-C0238A864F1F.png (81.5 KiB) Viewed 191 times

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

Re: DUIK Bassel: Face rig - Modifying Paths

Post by Duduf » Sat Sep 22, 2018 11:00 am

Hi!

I'm working on tutorials about these kind of stuff, I'm trying make this available quickly but it's a lot of work ;)


When you connect your slider to properties, if you have only one connection to make, it's pretty easy: just do your animation and connect the slider.
Your problem is that you want to make several connections to the same property, which is not (yet) possible (I'm thinking about how to make this possible, maybe one day I'll find out...).

The solution depends on the type of property:

• If you're trying to connect transformation properties (i.e. position, rotation and scale), the quickiest and easiest way is to use parents: for each new connection, add a null layer, and parent the already connected layer to this null. You can then connect the transformation of the null object, and you can repeat this process for each new connection you want to make.

• For other numerical properties (including transformations actually) you can use the "list" tool of Duik, which is available in the link & constraints panel (in standard and expert mode only, it is hidden in rookie mode).
Just select the property, and click the "list" button. Duik will add an effect with 5 new properties to control the original property, allowing up to five connections (or even more if you add a list to the list....). With the list, you won't connect the original property, but one of the new properties in the list effect.

• And there are non-numerical properties, like Bezier paths....
Here it's tricky if you're using an version of Ae older than CC2018: with older versions, there is no way to efficiently work with shapes in expressions, so you can not do more than one single connection to the shapes (to your X OR Y slider, but not both). The only way to achieve something is by duplicating the bezier path and try to make it work, but it can be very difficult. Using masks can help: instead of connecting the original shape itself, connect masks which "cut" it, or in shape layers try using multiple shapes and the "merge path" option (which works like the pathfinder of Adobe Illustrator).
If your using CC2018 or any more recent version, you can add bones to the bezier path (select the path property, or any vertex of the path, and click on the "add bones" button in the links & constraints panel of Duik). This way you'll have one layer for each vertex (and tangent) of the path, and you can then connect the position properties of these bones, and get back to the first and second method (connecting transformations or numerical properties).

Post Reply