Тёмный
No video :(

Proximity Expression in After Effects 

Michael Tierney
Подписаться 62 тыс.
Просмотров 27 тыс.
50% 1

▼ After Effects Beginners Course ▼
www.domestika....
Learn how to create this proximity expression in After Effects. In this easy After Effects tutorial, you will learn how to adjust the scale of shapes using expressions.
▼ Proximity Expression▼
target = thisComp.layer("Target");
dist = Math.floor( length(position, target.position) );
maxSize = thisComp.layer("Target").effect("maxSize")("Slider");
minSize = thisComp.layer("Target").effect("minSize")("Slider");
range = thisComp.layer("Target").effect("range")("Slider");
sensitivity = thisComp.layer("Target").effect("sensitivity")("Slider");
scle = linear(dist, range, sensitivity, maxSize, minSize);
[scle, scle];
▼ Breton Brander Blog ▼
bretonbrander....
▼ Overlord Plugin ▼
www.battleaxe....
-----------------------------------------------
Website: tierney.tv
Instagram: instagram.tiern...
Behance: behance.tierney.tv
RU-vid: youtube.tierney.tv
Thanks for stopping by :)
Michael Tierney
Motion Designer
www.tierney.tv
#AfterEffects #Expressions #Animation

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@Michael_Tierney
@Michael_Tierney 2 года назад
target = thisComp.layer("Target"); dist = Math.floor( length(position, target.position) ); maxSize = thisComp.layer("Target").effect("maxSize")("Slider"); minSize = thisComp.layer("Target").effect("minSize")("Slider"); range = thisComp.layer("Target").effect("range")("Slider"); sensitivity = thisComp.layer("Target").effect("sensitivity")("Slider"); scle = linear(dist, range, sensitivity, maxSize, minSize); [scle, scle];
@dragoscristea3782
@dragoscristea3782 5 месяцев назад
First tutorial on this effect that didn't gave me headaches and worked perfectly smoothly. Great job man.
@BlendItLikeJB
@BlendItLikeJB Месяц назад
Thank you so much man!
@lewislatham661
@lewislatham661 2 года назад
Absolute life saver thank you!
@Michael_Tierney
@Michael_Tierney 2 года назад
Glad to hear it :)
@MayankMishraG
@MayankMishraG Месяц назад
Have been tired of finding a simpler solution - this video came as a lifesaver. Thanks a lot, Michael! ❤ Subscribed ✅
@DashMatin
@DashMatin Месяц назад
fr
@1WillyDAVID
@1WillyDAVID 2 года назад
Thanks man, really easy and powerful!
@Michael_Tierney
@Michael_Tierney 2 года назад
I'm glad you enjoyed it. It sure is :)
@ivanmasalitin2394
@ivanmasalitin2394 2 года назад
awesome!
@Michael_Tierney
@Michael_Tierney 2 года назад
Thanks Ivan :)
@itsfarokhi
@itsfarokhi 2 года назад
it would take others an hour to teach this! thank you very much
@jbrizight
@jbrizight 2 года назад
This is definitely easier then how I've done this before. Cool vid
@Michael_Tierney
@Michael_Tierney 2 года назад
Thanls! and SNAP! :) I tried a few different ways and reduced it down to the least clicks possible. Glad you like it :)
@moirahornik4562
@moirahornik4562 2 года назад
Such a quick video. Thanks for making it so efficient!
@Michael_Tierney
@Michael_Tierney 2 года назад
No problemo :)
@bigneism
@bigneism 2 года назад
this is awesome, thanks!
@Michael_Tierney
@Michael_Tierney 2 года назад
Glad to hear it :)
@leolego2
@leolego2 2 года назад
love this
@Michael_Tierney
@Michael_Tierney 2 года назад
Thanks :)
@Totorus
@Totorus 2 года назад
Great tutorial, thank you so much for sharing!!!... Greetings.
@Michael_Tierney
@Michael_Tierney 2 года назад
No problem at all. Thanks for stopping by :)
@DashMatin
@DashMatin Месяц назад
fr this is amazing! and free so thank you so much man
@sebastianodibusti
@sebastianodibusti Год назад
Amazing tutorial 👏🏻
@RobertoRodriguez-jw6or
@RobertoRodriguez-jw6or 2 года назад
I´m loving your Domestika course.
@filmfoxwell
@filmfoxwell 2 года назад
Holy F that's so cool! Didn't know what was going to happen until the end. Thanks for the tip!
@psypad
@psypad 2 года назад
Thank you. Your video is the very easy to understand.
@benmcdonnell85
@benmcdonnell85 2 года назад
Just discovered your channel, loving your tutorials. I recognise that accent anywhere btw 😁👍🏻
@jervazfernandes2794
@jervazfernandes2794 2 года назад
Love your work!! Please make more! don't Stop 💯
@jamesbrown2285
@jamesbrown2285 2 года назад
*Checked to see if I was subscribed. *Looks To See. Already was!!! Great Content.
@Dante-ps9hd
@Dante-ps9hd 2 года назад
i love your tutorials! you are doing great job!
@YouAlreadyKnowBabi
@YouAlreadyKnowBabi 2 года назад
Superb tutorial
@pipzaman123
@pipzaman123 6 месяцев назад
Thanks for this video, super handy! Curious if you can use this to drive a fill color, or if something is keyframes with 2 values and have it go from one to another? Thanks!
@glvignesh
@glvignesh 7 месяцев назад
Hi @Michael , Thanks for this great tut! One doubt is that, what needs to be modified in the expression inorder to make the objects move away from the target ?
@plush_unicorn
@plush_unicorn Год назад
Люблю пересматривать)
@adrianfels2985
@adrianfels2985 Год назад
Hi Michael, could you please help me? What should I do if I want to only affect the y scale of an object with the proximity? Solution: In the last line set a value for the xScale --> [100,scle]
@orkedits
@orkedits 8 месяцев назад
Thank you!
@adrianfels2985
@adrianfels2985 8 месяцев назад
You're welcome! @@orkedits
@conormurphy7058
@conormurphy7058 2 года назад
So good.
@olecaspersen8876
@olecaspersen8876 2 года назад
Hi Michael. Great tutorial, thanx. Comment: How would you make ”reverse” effect?
@adrianfels2985
@adrianfels2985 2 года назад
The expression doesn't work for me. It seems that AE has a problem with "Slider". Edit: My AE was in German so the effect "Slider" in my AE has a German name called "Schieberegler" so I just put the german name in and then I searched how to set AE to english. Now I won't have any of those problems anymore.
@user-gy4zp3jo8g
@user-gy4zp3jo8g Год назад
Hi @Michael_Tierney thanks for sharing your knowledge! Could you help me? I need to keep the original scale of the objects and then scale when the target will be close to them. Many thanks and congratulations for your work!
@adrianfels2985
@adrianfels2985 2 года назад
Wow, how cool is this?
@orkedits
@orkedits 8 месяцев назад
Hey Michael, is there a way to also effect the opacity of a layer based on proximity? Which code should I add to the expression in order to do that?
@orkedits
@orkedits 8 месяцев назад
Never mind found a solution, you can just apply the same expression to your opacity (:
@orkedits
@orkedits 7 месяцев назад
@@gregorytzelalidis6007 Hey Gregory, I've had the exact same issue and managed to fix it. Try using this expression on opacity: target = thisComp.layer("Target"); dist = Math.floor( length(position, target.position) ); maxSize = thisComp.layer("Target").effect("maxSize")("Slider"); //when the this object is closest, this is how big it can get. minSize = thisComp.layer("Target").effect("minSize")("Slider"); // how small this object can get. range = thisComp.layer("Target").effect("range")("Slider"); //how far can the target be before this layer starts to get bigger. sensitivity = thisComp.layer("Target").effect("sensitivity")("Slider"); // how fast the layer starts to scale up once the target is in range. scle = linear(dist, range, sensitivity, maxSize, minSize); [scle]; In general, what seemed to fix the error for me and was the most important part was to: 1. Make sure the naming of everything is correct. (minSize, maxSize, range etc...) 2. Make sure that on the opacity layer there's only [scle]; at the bottom and no y or xscle=100 parameter. Let me know if that helps, if not I can go back to my files and look again.
@noordesign9873
@noordesign9873 Год назад
Hello, I have a problem. I did the same steps, but it gives me an error. Is it possible to solve it, please?
@everydaysebra
@everydaysebra Год назад
how would this work if the shapes are parented to a different null?
@everydaysebra
@everydaysebra Год назад
Found a solution. Just parent the target to that null as well :)
@mehdiarjmandi5280
@mehdiarjmandi5280 9 месяцев назад
wow
@stardust1668
@stardust1668 2 года назад
🙏🙏🙏
@Firefox6
@Firefox6 5 месяцев назад
no sirve
Далее
Turn Footage into Emoji with Adobe After Effects
11:49
Timings hated him #standoff #timing #meme
00:14
Просмотров 430 тыс.
Math.sin - Adobe After Effects Expression
13:28
Просмотров 181 тыс.
wiggle(); and random(); | After Effects Expressions
19:41
Reacting Grids in Adobe After Effects
12:59
Просмотров 99 тыс.
Expressions Basics - After Effects Tutorial
22:08
Просмотров 41 тыс.
After Effects Easing...like a pro
12:36
Просмотров 29 тыс.
linear(); | After Effects Expressions
18:02
Просмотров 48 тыс.
Liquid Animation in After Effects
3:21
Просмотров 253 тыс.
10 Quick After Effects Techniques I LOVE
8:01
Просмотров 683 тыс.