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

looping a path's movement?

New Here ,
Mar 10, 2021 Mar 10, 2021

Is there a way to loopOut a path in AE 2020?

TOPICS
Expressions , How to
651
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 ,
Mar 10, 2021 Mar 10, 2021

You do not give much information but if you mean to follow a Path as if it were a path on a map, yes there is, there are several ways to do it, you could try to do the animation in position first, you apply the LoopOut expression so that the movement is repeated and if it is necessary to apply an Auto-Orient from the Layer / Transform menu.


Byron.
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
New Here ,
Mar 10, 2021 Mar 10, 2021

I've a shape made with pen tool and want it to change it's form(path) continuously looping...

 

I added 3 keyframes and the expression of loopOut("continuous") but I get an error

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 ,
Mar 10, 2021 Mar 10, 2021

I can't tell from your question if you're trying to do loopOut("cycle") or loopOut("continue"). I can't think of a way to do the "continue" version, but you can wrangle your own version of "cycle" by using valueAtTime(), like this:

if (numKeys >1){
  if (time > key(numKeys).time){
    t = (time - key(numKeys).time)%(key(numKeys).time - key(1).time);
    valueAtTime(key(1).time + t);
  }else{
    value;
  }
}else
  value
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
New Here ,
Mar 10, 2021 Mar 10, 2021

Screenshot 2021-03-10 at 20.35.03.png

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
New Here ,
Mar 11, 2021 Mar 11, 2021

Αs you can see the shame below, it is supposed to change its form continuously.

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 ,
Mar 11, 2021 Mar 11, 2021

Did you try my suggestion above, to see if it does what you want?

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
New Here ,
Mar 11, 2021 Mar 11, 2021

To be honest it seems to be a bit advanced for me. I will study the expression and inform you the sooner.

 

Thank you

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 ,
Mar 11, 2021 Mar 11, 2021

To try it, you just need to copy it and paste it into your path property. It will either do what you need or it won't. No study required.  🙂

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 Beginner ,
Mar 12, 2021 Mar 12, 2021
LATEST

Oooh it's working...but I cannot understand it.

 

Can you please explain it a bit or link me a tutorial about it in order to learn?

 

Thank you in advance mate

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