ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Is there a way to keyframe parenting/unparenting???

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
doug nashIs there a way to keyframe parenting/unparenting???
by on Jun 3, 2011 at 5:55:25 pm

As the Subject asks, is there a trick or an expression which can be used to essentially activate or deactivate the parent function at a given time?

Thanks!


Return to posts index

Walter SoykaRe: Is there a way to keyframe parenting/unparenting???
by on Jun 3, 2011 at 6:00:16 pm

Parenting is not keyframable -- but you could split the layer [link] at the point where you want parenting to end (or begin again), then un-parent (or re-parent) the new layer as necessary.

You could also write a series of keyframeable expressions that emulate parenting, but I think this would get complicated quickly.

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events


Return to posts index

doug nashRe: Is there a way to keyframe parenting/unparenting???
by on Jun 3, 2011 at 6:17:08 pm

Thanks for the fast reply. I'm already splitting the layers, but with the complexity of the project I'm working on, that's already getting hairy. That would be a very nice feature for Adobe to consider adding.

I'm so spoiled, working with Cinema 4D all the time, as that program really sets the standard for flexibility.


Return to posts index


Walter SoykaRe: Is there a way to keyframe parenting/unparenting???
by on Jun 3, 2011 at 6:37:26 pm

[doug nash] "I'm already splitting the layers, but with the complexity of the project I'm working on, that's already getting hairy."

Yeah, it gets very hairy very fast. If you have a lot of effects work on those split layers, ft-Effect Instance [link] might help you keep them all in sync.


[doug nash] "I'm so spoiled, working with Cinema 4D all the time, as that program really sets the standard for flexibility."

Off-topic now, but how would you accomplish dynamic parenting in C4D?

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events


Return to posts index

Michael SzalapskiRe: Is there a way to keyframe parenting/unparenting???
by on Jun 21, 2011 at 8:14:28 pm

I'm curious about the C4D dynamic parenting aspect as well.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.


Return to posts index

Daniele De LucaRe: Is there a way to keyframe parenting/unparenting???
by on Mar 26, 2015 at 10:40:38 pm

You can unparent a layer using this recursive function, e.g. fix (value, thisLayer)

function fix ( pos , layer ) {
if (layer.hasParent) {
var p=layer.parent;
pos = fix ( pos , p );
var rp = degreesToRadians(p.rotation);
var delta = pos - p.position;
var s = p.scale / 100;
delta = [ delta[0] / s[0] , delta[1] / s[1] ];
rad = Math.sqrt ( delta[0]*delta[0] + delta[1]*delta[1] );
if (delta[1] != 0) ang = Math.atan (delta[0]/delta[1]) else ang = Math.PI/2;
dx = Math.sin (ang+rp) * rad;
dy = Math.cos (ang+rp) * rad;
if (delta[1]<0) {dx=-dx; dy=-dy};
return [dx,dy] + p.anchorPoint;
}
else return pos;
}


Return to posts index


Jordan SantiagoRe: Is there a way to keyframe parenting/unparenting???
by on Sep 17, 2016 at 3:24:19 am

Hi Daniele,

Is there a downloadable demo of this function working available somewhere?

Thanks,
-Jordan


Return to posts index

Jordan SantiagoRe: Is there a way to keyframe parenting/unparenting???
by on Sep 17, 2016 at 4:56:16 am

Hey there, just wanted to post another resource in case anyone else is having the same problem.

I was looking for a way to dynamically switch between having one layer be parented to something and then turning it off.
With this tutorial, you can do just that.



Return to posts index

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