Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Pick Whip issue

New Here ,
May 16, 2021 May 16, 2021

Copy link to clipboard

Copied

This is a simple question, need to know if it's a known AE limitation or if it's a bug related to Mac.
 
If a layer is parented to another layer, a third layer can’t pick whip to its position, it doesn't work.
 
Thanks
TOPICS
Error or problem

Views

195

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , May 16, 2021 May 16, 2021
It's not a bug. Simply pointing another layer to a child layer's position never works because the child layer's position after perenting is always relative to comp center and the distance to the parent.  Three layers, all at comp center: Parent the Child layer and the Child layer position changes to 0,0 or 0, 0, 0 for a 3D layer. Pickwhip moves the Problem layer to the same comp coordinates as the child layer, but that is not what you want: Thinking that just subtracting the comp center seem...

Likes

Translate

Translate
Adobe Community Professional ,
May 16, 2021 May 16, 2021

Copy link to clipboard

Copied

I believe it's a bug with this new-fangled transform/ 3D gizmo stuff. I vaguely recall a similar post.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 16, 2021 May 16, 2021

Copy link to clipboard

Copied

Thanks Mylenium.  Do you know of a workaround?  I think there's an expression that sort of works but not really.

T

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 16, 2021 May 16, 2021

Copy link to clipboard

Copied

It's not a bug. Simply pointing another layer to a child layer's position never works because the child layer's position after perenting is always relative to comp center and the distance to the parent. 

 

Three layers, all at comp center:

Before Parenting.png

Parent the Child layer and the Child layer position changes to 0,0 or 0, 0, 0 for a 3D layer. Pickwhip moves the Problem layer to the same comp coordinates as the child layer, but that is not what you want:

image.png

Thinking that just subtracting the comp center seems like it might work:

Looks like a solution.png

But this fails if you move the child layer:

Solution Fail.png

The solution is Layer Space Transformations. They will lock the problem layer to the child layer.

Cannot move problem.png

If you want to be able to move the problem layer and still have it follow the child layer you need to compensate for the comp center offset by subtracting the comp center from the current position value and then add the corrected child position:

Virtual Child.png

Here's the fix all expression that works if the child layer is named "Child":

L = thisComp.layer("Child");
ChildPosition = L.toWorld([0, 0, 0]); // solves problem with 3D layers
// Position Fix
CmpCenter = [thisComp.width, thisComp.height]/2;
value - CmpCenter + ChildPosition

 I have a version of this expression saved as an animation preset. I use it to create virtual child layers that do not respond to position, rotation or scale of a parent layer.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 16, 2021 May 16, 2021

Copy link to clipboard

Copied

LATEST

Thanks Rick.  This expression works really well.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines