FORUMS: list search recent posts

Retain relative position values while pick whipping two objects within a layer to other layers

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tom Pilla
Retain relative position values while pick whipping two objects within a layer to other layers
on Jan 30, 2019 at 6:18:37 pm

Hi,

I'm sure this is a simple thing, but I can't figure it out.

I'm trying to "parent" two objects (polygons) within a shape layer, each to a separate other shape layer (lines), for a simple horizontal movement. When the line moves, I want the polygon to move with it. Simple.

Because I'm using the polygons as mattes on a background image, I have to keep them in the same layer. So I can't parent them. I'm pick whipping the position expression of each polygon to its designated line's position. However, as soon as I pick whip, the polygons snap out of position -- their position values become the same absolute values as the line; I need them to be relative.

Thanks for the help!

-Tom


Return to posts index

Harry Hoag
Re: Retain relative position values while pick whipping two objects within a layer to other layers
on Feb 3, 2019 at 4:04:00 pm

Hey man,

Oleg's answer is definitely the way to go, it's the most versatile way, if you make his (CERTAIN_TIME_POINT) just 0 it should work, so that effectively zeros out the animation transformations. Then you're just adding values to it's current value rather than adding two unknown values together.

It's good to keep shape layer positions clean for this type of thing. So when you make a new shape, make sure all the positions are 0,0 and all the scales are 100,100, particularly the group position as that tends to default to something non zero when you use the shape tool. Starting at 0,0 and 100,100 is always much less of a headache than some random numbers that you have to cancel out later.


Return to posts index

Tom Pilla
Re: Retain relative position values while pick whipping two objects within a layer to other layers
on Feb 4, 2019 at 4:17:40 pm

Yes! That is exactly what I was looking for. Thanks guys, that's perfect. Much appreciated.


Return to posts index

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