Trigger an Effect if Touching a Solid/shape/?
i want series of animation of data visualizations large groups of dots on map become selected , light (glow effect on) , deselected (glow effect off) change throughout animation different groups turning on , off periodically.
rather keyframe dozens of dots on , of, i'm sure there must clever way line of script perhaps checks if overlapping solid, or within shape's boundary , can move invisible solid on dots 'activate' them or...or... ideas?
i'm open solution this, doesn't have script. maybe there's additive effect overlay solid has binary on/off effect.
thanks in advance brain time!
expressions. here's simple thing can apply opacity instance.
//reference animated slider
mvalue=math.round(thiscomp.layer("xyz").effect("group id")("slider"));
//add additional group indices array needed
mgroups=[1,2,5,9];
//check if element in group
for (i=0;i<mgroups.length,i++)
{
if (mgroup[i] == mvalue)
{100}
else
{0}
}
based on array, elements can members of multiple groups. change values needed , animate slider hold keyframes hard switch toggle.
mylenium
More discussions in After Effects
adobe
Comments
Post a Comment