FORUMS: list search recent posts

Linking Nulls to Nulls in ParentComposition goes wrong

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Wouter Dijkstra
Linking Nulls to Nulls in ParentComposition goes wrong
on May 27, 2019 at 4:49:12 pm

Hi Guys,

I have two Nulls in CompX (3840 x 2160px) that I want to link/duplicate to the ParentCompY (1920 x 1080px). Unfortunately it goes wrong and I don't know how to fix it.

Comp X with the two Nulls



I would like to have the motion that I applied to the Nulls in CompX to be visible with different nulls in CompY.
I tried multiple expressions like:

1.

L = thisComp.layer("...");
L.toWorld(L.anchorPoint)

and

2.

L1 = comp("Comp 1").layer("Layer X");
P1 = L1.toWorld(L1.anchorPoint);
L2 = thisComp.layer("Comp 1");
L2.toWorld(P1)

3. Using Point Controls

Clearly I am missing something here, because it usually results in a Null that is far outside the CompViewer and moves way to fast/weird. I want two pieces of ice to follow the motion I applied to the nulls in CompX and be able to move the Nulls in CompY so they are not fully depended on the exact location of CompX.



The image above shows CompY, where I want to have these Nulls and eventually link two "ICE" objects to the nulls.


Return to posts index

Wouter Dijkstra
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 27, 2019 at 5:48:24 pm

I am not sure if it is important to mention, but the Nulls in CompX are also parented in this manner:

Null1 parented to L_Foot
Null2 parented to R_Foot

I appreciate all help and knowledge :D


Return to posts index

Wouter Dijkstra
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 28, 2019 at 7:37:36 pm

As it seems for now whenever I try one of the above mentioned options, the Null will always move to fast.

So it's like this:

COMPX:

Null is repositioned to the lower-end of the Foot and moves perfectly with the Foot.

COMPY:

Null is parented to the Null in COMPX and I have to find it somewhere far outside of the comp + It doesn't stay on the Foot in COMPY

I'm stuck :p


Return to posts index


Oleg Pirogov
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 29, 2019 at 1:55:50 am

Your 2. expression should work fine as far as I understand your set up. Do you mind sharing the project file?


Return to posts index

Wouter Dijkstra
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 29, 2019 at 8:12:29 am

Hi Oleg,
Thanks for helping out.

I made option 1 and 2 (where I used Point Control) for option 1.

Option 2 seems to work, but when I scale up or down COMPX it gives me trouble.
Thanks for having a look at it. It kills me and I have the impression I don't understand the working of expression tools like "PointControl".

Thanks for the help ☺


13384_globalpositionnulls.aep.zip


Return to posts index

Oleg Pirogov
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 29, 2019 at 2:17:22 pm

Opt 1 has too many flaws.
Opt 2 had a clear mistype in line 3, I had to change "NULL1" to "COMPX":

L1 = comp("COMPX").layer("Null 2");
P1 = L1.toWorld(L1.anchorPoint);
L2 = thisComp.layer("COMPX");
L2.toWorld(P1)


After that, the null follows the leg:


That's what you are looking for, right?


Return to posts index


Wouter Dijkstra
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on May 29, 2019 at 2:51:28 pm

Thanks Oleg! ☺

Good to know that option number 1 is to much of a hassle


Return to posts index

Wouter Dijkstra
Re: Linking Nulls to Nulls in ParentComposition goes wrong
on Jun 2, 2019 at 6:30:58 pm

Hi guys, just one more question. The null follows perfectly, but once I move the PRECOMP in time (let's say forward in time) the null no longer follows (it follows the Composition like it isn't moved). Any suggestions how to solve this?


Return to posts index

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