ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Parenting layer to puppet pin with "To_world"

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
John Winthrop
Parenting layer to puppet pin with "To_world"
on May 28, 2017 at 12:36:16 am

I did this a long time ago and can't remember exactly how.

I have a puppet pin on one layer, and I want to parent another layer to that puppet pin relative to the composition they are both in. I remember it had something to do with the "to_world" expression or something along those lines but I can't seem to get it to work.

Again, I just want the position of one layer to follow the position of a single puppet pin of a different layer.


Return to posts index

Dan Ebberts
Re: Parenting layer to puppet pin with "To_world"
on May 28, 2017 at 5:05:13 am

Something like this should work:

L = thisComp.layer("Puppet");
L.toComp(L.effect("Puppet").arap.mesh("Mesh 1").deform("Puppet Pin 1").position);

Dan



Return to posts index

John Winthrop
Re: Parenting layer to puppet pin with "To_world"
on May 28, 2017 at 4:16:55 pm

Dan does it again. Thank you!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]