Mailing List AE-List@media-motion.tv — Message #48711
From: Dan Ebberts <debberts@comcast.net>
Subject: Re: [AE] Offset along motion path?
Date: Sun, 28 Apr 2013 13:38:28 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
If you paste the path into a Null’s position, you’ll get a motion path with a duration of 2 seconds. Then if you have a slider going from 0 to 100 to represent percentage of travel along the path, you can you use an expression like this for your triangle:
 
s = (your slider value);
thisComp.layer(“Null 1”).transform.position.valueAtTime(2*s/100)
 
Something like that.
 
Dan
 
From: Brian Behm
Sent: Sunday, April 28, 2013 1:28 PM
Subject: [AE] Offset along motion path?
 
Hey everybody,
   quick question that's been confounding me. I have a race track simulation I'm developing for an info graphic and I have two representative triangles that I want to animate along the path. Because they're going different speeds, I want to be able to parent them to the path but not lock them into a specific time so that I can animate the offset along the path. Sort of like how Trapcode 3D stroke can animate along a portion of the path.
 
I know I can paste motion paths into After Effects, but that doesn't solve what I want it to do. Is there a way to constrain motion to a path without constraining it to a specific time?
 
Brian
 

Brian Behm | Art Director
Rooster Teeth Productions
636 Ralph Ablanedo
Austin, TX  78748
office 512-480-0336
mobile 512-965-7914

 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster