OK.. sorry.. haven’t checked back here for a while
ok.. this is what I did.. made a new comp (BASE_COMP) with a load of square solids ( 400 x 400 pixels ).
I then made another comp and imported BASE_COMP into it, duplicated it and rotated it so it has some reflection. I also put a null in that comp with a slider on it.
ok.. back to the BASE_COMP and one of the solids..
make sure they are 3D layers.. pop this expression onto the position
x=comp(“REFLECT_COMP”).layer(“Null 1”).effect(“Slider Control”)(“Slider”) + 500;
range=300; //range when Z begins
center=thisComp.width*0.5; //center of comp on X axis
distance=x-center;
Zdist=400;
if (x <= center ){
Zpos=ease(center+distance,center-range,center,value[2],value[2]-Zdist);
}else{
Zpos=ease(center+distance,center,center+range,value[2]-Zdist,value[2]);
}
[x,value[1],Zpos]
and this onto the y rotation
range=180; //range when rotation begins
center=thisComp.width*0.5; //center of comp on X axis
distance=position[0]-center;
angle=ease(center+distance,center+range,center-range,-70,70);
[angle]
you will then have to play about with the position offset, for me they went it blocks of 250.. but have a play..
so when you go into the reflect_comp.. and you move the slider on the null.. it should work !!!
this and what we wrote above should definatly help !!
Alex