Animate a line along a path

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Wind-2013
Posts: 2
Joined: Wed May 08, 2019 8:59 am

Animate a line along a path

Post 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 =)
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Animate a line along a path

Post by slowtiger »

2 ways:

- Stroke exposure.
- Masks.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Animate a line along a path

Post by hayasidist »

or bones - use a bone to stretch the line.
User avatar
slowtiger
Posts: 6067
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Animate a line along a path

Post by slowtiger »

But that only works with straight lines ...
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
Maestral
Posts: 531
Joined: Tue Jan 27, 2009 5:44 pm
Location: Belgrade, Serbia

Re: Animate a line along a path

Post 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.
mrc
Posts: 116
Joined: Wed Feb 14, 2018 10:36 am
Location: Berlin, Germany
Contact:

Re: Animate a line along a path

Post 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
You don't agree with the post above? Click here.
www.tricklabor.com/en
User avatar
hayasidist
Posts: 3492
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Animate a line along a path

Post 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
Wind-2013
Posts: 2
Joined: Wed May 08, 2019 8:59 am

Re: Animate a line along a path

Post by Wind-2013 »

Thanks to everyone for answers
Post Reply