I've been roaming through this forum for quite some time and never needed to ask questions because i would always find the answer on here until now.
When it comes to expressions and JAVA i am a complete dumb dumb so any help would be really appreciated.
I made a simple diagram of my simplified setup so you guys can understand better. I am trying to achieve the "dock" magnifying effect. The layers are distributed in a circle and are parented to a null that rotates in front of the camera.
What i'm trying to achieve is as the layers that rotate in front of the camera should increase in size-- let's say by 30% and as the move away from it decrease to their original size.
My logic tells me that i have an expression in the size property of each layer that will calculate the distance between the camera and the layer and when it reaches it's shortest distance the scale should be 130%- and as it rotates away it should decrease in size.
Thanks in advance guys!
'ava good one