Activity › Forums › Adobe After Effects › Adding tracer lines on an object with vectors?
-
Adding tracer lines on an object with vectors?
Posted by Ryan Paterson on September 29, 2014 at 8:16 amis this possible? I havent even tried it just thinking of ideas- looking for something like C4D’s tracer effector, with speed lines relative to the speed of the object. I was thinking maybe Beam effect with some vector math functions? I’ve never actually used vectors in AE so I got scared and came here
Walter Soyka replied 11 years, 7 months ago 3 Members · 8 Replies -
8 Replies
-
Walter Soyka
September 29, 2014 at 5:05 pmVector math needn’t be THAT scary…
Can you make a mockup of how you want you speed lines to work?
Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive | RenderBreak [blog] | Profile [LinkedIn] -
Richard Garabedain
September 29, 2014 at 5:05 pmIt can be done with particular’s aux system. Or perhaps with the echo effect.
-
Ryan Paterson
September 29, 2014 at 7:02 pm -
Walter Soyka
September 29, 2014 at 10:15 pmWill they always move one way along a straight line like this?
Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive | RenderBreak [blog] | Profile [LinkedIn] -
Walter Soyka
September 30, 2014 at 9:40 amI would draw the speed lines in a group on a shape layer, add Trim Paths, and use an expression like this for the End property:
maximumSpeedRange = 250;
s = length(sub(position,position.valueAtTime(time-thisComp.frameDuration)));
ease(s,0,maximumSpeedRange,0,100)s in this expression is the magnitude of the difference between the layer’s current position and its position on the frame before.
Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive | RenderBreak [blog] | Profile [LinkedIn] -
Ryan Paterson
September 30, 2014 at 5:47 pmOk cool, now if I need them to change directions how would you go about that? When I said one direction I meant one at a time. ie) it moves left then pauses, then moves up and pauses, etc.
-
Walter Soyka
October 3, 2014 at 9:53 am[Ryan Paterson] “Ok cool, now if I need them to change directions how would you go about that? When I said one direction I meant one at a time. ie) it moves left then pauses, then moves up and pauses, etc.”
If you put the lines on a separate shape layer, offset them from the center, and parent the tracer line shape layer to the moving object you could rotate the shape layer according to the direction of movement.
Change the end paths expression to this:
maximumSpeedRange = 8;
p1 = toWorld(thisLayer.transform.anchorPoint);
p2 = toWorld(thisLayer.transform.anchorPoint,time-thisComp.frameDuration);
s = length(p2-p1);
ease(s,0,maximumSpeedRange,0,100)And add a rotation expression like this:
p1 = toWorld(thisLayer.transform.anchorPoint);
p2 = toWorld(thisLayer.transform.anchorPoint,time-thisComp.frameDuration);
delta = p2 - p1;
radiansToDegrees(Math.atan2(delta[1],delta[0]));Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive | RenderBreak [blog] | Profile [LinkedIn]
Reply to this Discussion! Login or Sign Up