Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pick whip stuck at value of first keyframe

Contributor ,
Feb 24, 2022 Feb 24, 2022

Screenshot 2022-02-24 194341.jpgSee photo: I have one comp inside another, and I've pick whipped the scale value from a layer in the outer comp. But, even though the source scale is animated, the scale of the child doesn't change. The child scale value is fixed at the value of the source's first keyframe.

I've closed and re-opened AE. Everything else seems to be working fine. What am I doing wrong?

 

Thanks!

 

Screenshot 2022-02-24 194341.jpgScreenshot 2022-02-24 194341.jpg

TOPICS
Error or problem , Expressions
627
Translate
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

Community Expert , Feb 24, 2022 Feb 24, 2022

See if this helps:

c = comp("Endo Opening Main");
c.layer("Hero Pill Orange Fill").transform.scale.valueAtTime(time + c.layer(thisComp.name).startTime)
Translate
Contributor ,
Feb 24, 2022 Feb 24, 2022

(Sorry about the 3 screenshots. They're all the same.)

Translate
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
Community Expert ,
Feb 24, 2022 Feb 24, 2022

See if this helps:

c = comp("Endo Opening Main");
c.layer("Hero Pill Orange Fill").transform.scale.valueAtTime(time + c.layer(thisComp.name).startTime)
Translate
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
Contributor ,
Feb 24, 2022 Feb 24, 2022

That worked! Can you give me a sense of what was wrong with the way I did it? Shouldn't it have worked?

Translate
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
Community Expert ,
Feb 24, 2022 Feb 24, 2022

If an expression in a nested comp references items in the outer comp AND the the nested comp layer doesn't start at time = 0 in the outer comp, you have to compensate for the offset start time if you want to sync up the animation.

Translate
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
Contributor ,
Feb 24, 2022 Feb 24, 2022
LATEST

Amazing! Thanks for your help!

Translate
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