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

Positioning Objects

Participant ,
Oct 28, 2021 Oct 28, 2021

I'm trying to get the objects to move towards her mouth and once there I want the hot dog to disappear instantly or at the least opacity to go down. When I try with the opacity, the opacity goes down while the hot dog is moving towards her mouth. 

 

AE Help 2.pngAE Help.png

TOPICS
How to
289
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

Contributor , Oct 29, 2021 Oct 29, 2021

You can use this expression in the opacity. You can change the 350, 300 value as I don't know what's the position value when it goes up, so 300, 350 is a rough figure.

var target = thisLayer.transform.position[1];
linear(target, 350, 300, 0, 100);

 

Translate
LEGEND ,
Oct 29, 2021 Oct 29, 2021

Not sure what you're asking. Your screenshots don't even show any opacity keyframes or anything else like a mask or matte around the mouth.

 

Mylenium

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
Participant ,
Oct 29, 2021 Oct 29, 2021

I'm trying to get the hot dog to travel towards her mouth and once there I want the hot dog to disappear as if it's being eaten. An example is in the link at the 0:37 mark. https://m.youtube.com/watch?v=WEMz7ovIGOs

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 ,
Oct 29, 2021 Oct 29, 2021
LATEST

You can use this expression in the opacity. You can change the 350, 300 value as I don't know what's the position value when it goes up, so 300, 350 is a rough figure.

var target = thisLayer.transform.position[1];
linear(target, 350, 300, 0, 100);

 

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