Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions lookAt and parenting

  • lookAt and parenting

    Posted by Jan Sickinger on March 5, 2011 at 10:55 am

    hello forum.

    i’m working on a little after effects character rig. to rig the eyes, i used a 3d lookAt expression. so i rigged the iris layer to the HELPER_Iris layer. all objects are 3d layers. that works all fine, except i parent the HELPER_Iris layer to the higher HELPER_ALL layer. when i do so, the Iris layer flips around and do not work properly anymore.

    has anyone an idea to this problem? thanks very much!

    jan

    link: 1709_eyerig.png.zip

    LookAt = "HELPER_Iris"
    look = look_at(position, thisComp.layer("HELPER_Iris").position);
    [look[0], look[1], look[2]]

    Jan Sickinger replied 15 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 5, 2011 at 5:03 pm

    Try it this way:

    L = thisComp.layer(“HELPER_Iris”);
    lookAt(L.toWorld(L.anchorPoint),toWorld(anchorPoint));

    Dan

  • Jan Sickinger

    March 5, 2011 at 6:17 pm

    yeah! works great.
    thank you very much! jan

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