Day 1 - Place Objects Along A Path | After Effects Incredible Expressions Challenge

preview_player
Показать описание
13 Days of Incredible Expressions Challenges
So cool, it's like free plugins!

Want to learn more? Get The Power of Expression Book

#aescripts #aftereffects #aftereffectsexpressions #thepowerofexpression
Рекомендации по теме
Комментарии
Автор

very helpful! a tip for others, as this wasnt immediately obvious to me: in the linear( ) expression, the "10" defines the # of copies the path will support, or how many times the path is divided. I was trying to add 100 layers to the path and was stumped for a minute as to why i could only see 10 of them. so you can manually enter the # of layers there, or perhaps rig up a little layer index expression as i did that will automagically set the correct # inside the linear expression.

Eikonic_
Автор

pos = linear(index, 1, 10, 0, 1);
1").maskPath.pointOnPath(pos, t = time);

kerrhisng
Автор

Hello, how do you make something move along a moving path?

TheKaver
Автор

Sadly I dont seem to be able to use this expression, everytime I set the values I get an message saying Expression Disabled, error in line 3 in property Position :(

marckhernandez
Автор

Great tutorial! Works fine, but i was wandering what for are:

numbers after index , 0,10,0,1 and
what change t = time

danielslusarz
Автор

What a nice birthday present this could be...

daneeh
Автор

Now it's limited to 10 objects only. Replacing "10" with "pos = linear(index, 0, thisComp.numLayers-1, 0, 1) " allows to place any number of evenly distributed objects

pos = linear(index, 0, thisComp.numLayers-1, 0, 1) ;

mkozlinski
Автор

Hey! Great tips thank you! It work really well, but how can I attach precomp on it. I tried with a precomp and the position is offset.
Do I need to add a expression for a precomp?

Thank you 🙂

alexandremaye
Автор

hi, can you place repeater objects along the path?

yewsoonfatt
Автор

Is it possible to confine myulltiple objects with North-South axes (assymetrical) along a path so that they keep orientation relative to its curves? So the North always point outwards?Is there a way to make it like "auto-orient along path" when making it move along it? Thanks a lot.

EvgeniyShmukler
Автор

Hi! Can I do this with pngs instead of shape layers? I'm looking to create a circle burst with gems.

consprcy
Автор

This is awesome, but I wish you explained more thoroughly. It's a good starting point to research how it's done though.

phillustrator
Автор

I found it the returned pos for the circles are offset if the solid is not the same size of the comp.

pixmation-ht
Автор

Anyone clever that knows a way to make it rotate when you duplicate it aswell? I animted a pop/snap effect & wanted to try it go around a circle.

motionwithoskar
Автор

This is great and I can't wait to see the new ones!! Any chance we could get the scripts in the description for easy reference? Thanks!!

thedinardi
Автор

I don't know why my object shows up far away from the path, does anyone have an answer for this?

felipezapata
Автор

Great Tutorials! Thank you!

Rookie question: If I scale the mask path, the shape layer objects don't follow – why is that and is it possible? Thank you

hybridd
Автор

*Can't open with 2018 cc version on MAC*
anyone can fix ?

Автор

Great tutorial, is there any way to scale the objects along the path so i can place more of them? Thanks

diemmeti
Автор

You are duplicating the layers, so the expression is duplicated for each of 10 layers. I understand how that works. What if you now what to change the expression? Do you have to edit the expression in each of those 10 layers? Is there are way to have one, centralised function you can call from each of the layers, so that if you want to change things you just have to change that function once? I have a programming background but I'm new to After Effects and I don't yet know how such things would work in AE, or where those functions/expressions would be stored.

Gisburne