Activity › Forums › Adobe After Effects Expressions › Parenting puppet tool
-
Darie Alexandru
October 7, 2010 at 10:02 pmHello I am trying to control a puppet pin with a null object, but I am trying to place my null in a comp higher in hierarchy then the one with the puppet pin…Can you please tell me if you example can work in this case… and if it does can you explain a little how they connect… cause I understand the first line but the second line of code I can not.
-
Dan Ebberts
October 7, 2010 at 10:14 pmYeah, something like this should work unless your comps are different sizes, not centered, etc.
N = comp(“name of comp with null”).layer(“Null 1”);
fromWorld(N.toWorld(N.anchorPoint));Dan
-
Martin Dennison
March 1, 2011 at 12:32 pmHello,
I used the
L = thisComp.layer(“face”);
L.toWorld(L.effect(“Puppet”).arap.mesh(“Mesh 1”).deform(“Puppet Pin 1”).position)expression to parent a mouth to a pin on the jaw of a face, which works great, but now the mouths position has changed to being over the nose, and i cant move it back. how can i use expressions to move the mouth back down again?
Thanks in advance,
Martin.
-
Karffe Korselt
May 20, 2011 at 11:05 amHi, I have a problem with the parent pins of two layers of puppets. I did not work nor the order that you have written. I need to (knee) moving figures in the movement as well – but it can not be achieved 🙁 Thanks for reply!
-
Dan Ebberts
May 20, 2011 at 4:40 pmI’m sorry, I don’t really understand what you’re asking. Your reference to “knee” makes me think that maybe you’re after inverse kinematics for puppet pins. In general, the way I would tackle that is to set up a parented hierarchy of nulls, apply the IK expressions to those, and attach the puppet pins to the nulls via expressions.
Dan
Reply to this Discussion! Login or Sign Up