ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Linking a layer to part of a Puppet Mesh

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ahmed Aldawood
Linking a layer to part of a Puppet Mesh
on May 17, 2020 at 1:37:18 pm


So basically I have two seperate animated layers and one of them [ The secondary ] is supposed to be attached to the other [ The main ] but for ease of animation I seperated them. Now, I want the secondary layer to be attached to a part of the main layer's Puppet Mesh without adding a Pin to the mesh because adding a pin will sacrifice the movement factor of that specific part of the mesh unless I animated it which will just cause more hassle.

I used the expression below and it worked but the secondary layer isn't following the main's movement which results in an unaturally still animation.

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

Is there a way to attach the secondary layer to a part of the main's mesh so that the secondary follows the movement of that part specifically?

Return to posts index

Chaz Chester
Re: Linking a layer to part of a Puppet Mesh
on May 18, 2020 at 2:58:34 am

It might not be the most elegant solution, but you could pre-compose the puppeted layer and motion track the spot that you're trying to attach the secondary layer to.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved