Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions 2D Layer’s position moves according to 3D Layer’s y-rotation

  • 2D Layer’s position moves according to 3D Layer’s y-rotation

    Posted by Roland R. kahlenberg on October 28, 2012 at 6:50 am

    2D Layer’s position moves according to 3D Layer’s y-rotation – can?

    Essentially, I’m trying to make the edge of a 2D layer move in tandem to the edge of a 3D layer as the 3D layer rotates on its y-axis.

    TIA
    Roland

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

    Roland R. kahlenberg replied 13 years, 6 months ago 3 Members · 5 Replies
  • 5 Replies
  • Darby Edelen

    October 28, 2012 at 9:18 am

    To tie the edge of a 2D layer to a 3D layer I’d convert a point along the edge of the 3D layer into comp space and apply that to the 2D layer’s position, set the 2D layer’s anchor point on the edge you want tied to the 3D layer’s edge:


    l = thisComp.layer("My 3D Layer");
    my3dEdgePoint = [0,540,0];
    l.toComp(my3dEdgePoint);

    Of course this method makes some assumptions and has limitations. Hopefully it foots the bill in your case.

    Darby Edelen

  • Roland R. kahlenberg

    October 28, 2012 at 10:48 am

    Thanks Darby!!! It’s working as I expected.

    Cheers
    – Roland

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

  • Roland R. kahlenberg

    October 29, 2012 at 11:25 pm

    AccCKK!!!!!! What if my 3D layer is a child or a grandchild?

    Cheers
    Roland

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

  • Dan Ebberts

    October 29, 2012 at 11:33 pm

    It shouldn’t matter. Did you try it?

    Dan

  • Roland R. kahlenberg

    October 29, 2012 at 11:57 pm

    I DID! And it works!!! 😀

    The 3D Child Layers required more finessing with its Anchor Point. FWIW, when a 3D layer rotates a lot, two 2D solids are required, one for each of its left and right sides. BTW, I’m trying this technique so that I can use these 2D layers in Newton and then use Newton’s results with 3D layers.

    Thanks Dan!

    Cheers
    Roland

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

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