Copy link to clipboard
Copied
Let's say I have a layer in my main comp, and the same layer is also placed in a deeply nested comp which has a different resolution as well as different scales along the way.
The nice script called LayerStalker (Layer Stalker - aescripts + aeplugins - aescripts.com ) allows attaching the position of my layer on the main comp to the exact "visual" position of the inner layer.
However, it doesn't solve the scale issue - the layer in the main comp won't have the same scale as the inner one, and I'm trying to write an expression that will calculate the "visual" scale of the outside layer so it will match the inner layer.
So I tried to multiply the scales along the way (scale of first layer / 100) * (scale of inner layer / 100) * (scale of inner inner layer / 100)..., but it didn't work.
I'll appreciate your help.
I hope what I'm trying to achieve is clear.
Thank you
Copy link to clipboard
Copied
You cannot simply multiply. You need to properly calculate the effective scale factor every time, including using the comp size as the layer size in the parent comp. The real scale will always be different from AE's values.
Mylenium
Copy link to clipboard
Copied
So can you please advise on how do I do that?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more