Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Attaching Null to puppet tool pin on shape layer

  • Attaching Null to puppet tool pin on shape layer

    Posted by Ash Curkpatrick on July 26, 2013 at 3:08 am

    Howdy,

    I’m trying to attach a Puppet Tool pin to a null object using this expression here:

    n=thisComp.layer(‘null’);
    nullpos=n.toComp(n.anchorPoint);
    fromComp(nullpos);

    Normally this works quite well with bitmap images, but it doesn’t seem to like After Effects shapes all that much as they become massively offset. Does anyone know why? Any help would be greatly appreciated!

    Mike Roberts replied 12 years, 9 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    July 26, 2013 at 3:45 am

    Try it this way:

    n = thisComp.layer(“null”);
    n.toComp(n.anchorPoint)

    Dan

  • Ash Curkpatrick

    July 26, 2013 at 5:17 am

    Awesome! The After Effects scripting king answered me! Does my little amateur heart some good! Thank you sir. It worked brilliantly!

  • Mike Roberts

    August 6, 2013 at 10:10 pm

    the Duik tools have a great “bone” generator from their UI script. https://duduf.net/?page_id=151

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