Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linking 2D and 3D layers for character rig

  • Linking 2D and 3D layers for character rig

    Posted by Matt Exton on February 11, 2016 at 12:49 pm

    Hi all,

    Apologies if this has been covered in another post somewhere but I’ve searched a while now and can’t seem to find an answer so here goes…!

    I have a scene with a foreground, mid ground and background that are separated in 3D space in order to give me a sense of depth.

    The shot starts wide, zooms in to the BG and then zooms back out to the MG.

    When it zooms back to the MG, 3 characters appear.

    I have rigged the characters in 3D space, however I am using a plugin called “Rubberhose” to animate the limbs, and this (from what I’ve seen) can only be used as 2D layers.

    When the camera stops, I have switched the layers from the 3D static arms to the 2D arms so I can use the effect.

    However…

    I wish to link the shoulder null to the body which is 3D, so it moves with the position of the body.
    I have tried using the following expression on the 2D layer.

    this_comp.layer(“shirt”).to_comp([0,0])

    This works, but it moves the shoulder to a different position from it’s original, and I can’t move it back into position as the position values are now linked to the 3D layer.

    I can parent the shoulder to a null and move it into position this way but I wondered if I’m overcomplicating things and if there was an easier way to do it?

    Thanks in advance for any help!
    Matt

    Miguel De mendoza replied 10 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Miguel De mendoza

    February 11, 2016 at 1:34 pm

    At first, you must write “toComp” instead of “to_comp”.
    Second, do you need to call toWorld instead toComp, because you are geting a 3D value.
    But I think the real problem is the perspective, because I can see that the arm you are trying to link is bigger than the back arm.
    I think the best way to solve it(and the normal way to animate characters) is to animate character movements inside a character comp, where all the components are 2d, and make this comp 3d in your scene.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy