Page 1 of 1

Animate a line along a path

Posted: Thu May 09, 2019 12:38 pm
by Wind-2013
Hello!
How can I animate a line moving along the path?
Something like this
Image
Or it is not possible in Moho 12?

Thanks =)

Re: Animate a line along a path

Posted: Thu May 09, 2019 1:08 pm
by slowtiger
2 ways:

- Stroke exposure.
- Masks.

Re: Animate a line along a path

Posted: Thu May 09, 2019 2:32 pm
by hayasidist
or bones - use a bone to stretch the line.

Re: Animate a line along a path

Posted: Thu May 09, 2019 3:25 pm
by slowtiger
But that only works with straight lines ...

Re: Animate a line along a path

Posted: Thu May 09, 2019 4:14 pm
by Maestral
For something like that, I`d also go for stroke exposure.
I`ve used the same approach since the existing path can be used for circles to follow and the timing is easy to sync.

Re: Animate a line along a path

Posted: Thu May 09, 2019 4:37 pm
by mrc
Another vote for Stroke Exposure.

But careful, the tool is a little broken: Motion graphs do not work.

Also, Follow Path and Stroke Exposure work differently around vertices/bends: Follow Path keeps the velocity constant while Stroke Exposure slows down and speeds up around bends. At least in some instances.

Marc

Re: Animate a line along a path

Posted: Thu May 09, 2019 4:50 pm
by hayasidist
slowtiger wrote:But that only works with straight lines ...
the quick and dirty example I tried used one bone per (straight) segment... the OP example is, essentially, just straight lines that are joined together at an angle...
the "head" vectors are bound to a control bone that extends the bone chain one bone at a time until the bone hits it length limit, then the control re-parents to the next one... and so on...

but yeah - many ways to handle this... the compelling idea for me was to have the head control the movement rather than trying to sync line exposure and head motion

Re: Animate a line along a path

Posted: Sat May 11, 2019 7:07 am
by Wind-2013
Thanks to everyone for answers