FORUMS: list search recent posts

Ignore parent position question?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben Christie
Ignore parent position question?
on Sep 24, 2015 at 9:54:25 pm

Hey guys,

I currently have 4 layers:

Master Mover
Gradient Postion 1
Gradient Postion 2
Gradient Ramp

I have a gradient ramp effect that has two handles attached to the 'gradient position' nulls via an expression.

But when I parent the 2 gradient position nulls to the master mover, the gradient messes up.

Is there a way to have the gradient position handles ignore the master mover position?

Please help, thanks!


Return to posts index

Dave LaRonde
Re: Ignore parent position question?
on Sep 24, 2015 at 11:23:44 pm

You might have to use sliders instead.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Walter Soyka
Re: Ignore parent position question?
on Sep 25, 2015 at 10:47:40 am

[Ben Christie] " have a gradient ramp effect that has two handles attached to the 'gradient position' nulls via an expression. But when I parent the 2 gradient position nulls to the master mover, the gradient messes up. Is there a way to have the gradient position handles ignore the master mover position?"

When you parent the "gradient position" nulls to the "master mover" null, it changes their frame of reference. Instead of referring to position relative to the comp, they refer to position relative to their new parent.

Since the gradient itself is not parented to the master mover, it needs position data in the coordinate space of the comp, not the coordinate space of some other null.

Use an expression like this on the gradient start/end point to convert from layer space to comp space:

l = thisComp.layer("Gradient Position 1");
l.toComp(l.anchorPoint);


Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

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