Monday, August 4, 2014

Expressions Time!

pCube1.translateY = Main_Ctrl.translateY*0.5;
pCube2.translateY = Main_Ctrl.translateY*0.25;
pCube3.translateY = Main_Ctrl.translateY*1;
pCube4.translateY = Main_Ctrl.translateY*0.75;

pCylinder4.translateY = Main_Ctrl.translateY*1;
pCylinder6.translateY = Main_Ctrl.translateY*1;

pCube5.translateY = Main_Ctrl.translateY*0.5;
pCube6.translateY = Main_Ctrl.translateY*0.25;
pCube7.translateY = Main_Ctrl.translateY*1;
pCube8.translateY = Main_Ctrl.translateY*0.75;

Inner_TallTower02.translateY = Main_Ctrl.translateY*0.55;
Inner_TallTower03.translateY = Main_Ctrl.translateY*0.35;
These expressions are basically for the small towers. However, this round will be different. I want it to start halfway through the animation.

I used if (frame >= ##) expression. Still won't work. So, I have to translate my Main control in Y-axis halfway through the animation.

Same as the previous expressions, the models translates up too fast. I have to tone it down using Main_Ctrl.translateY*0.35;

Here's my other expressions:
group1.translateY = Main_Ctrl.translateX*0.005;
group2.translateY = Main_Ctrl.translateX*0.01;
group3.translateY = Main_Ctrl.translateX*0.01;
group4.translateY = Main_Ctrl.translateX*0.02;

LeftHouses.translateY = Main_Ctrl.translateX*0.02;
RightHouses.translateY = Main_Ctrl.translateX*0.02;
pPipe11.rotateY = Main_Ctrl.translateX*2;
pPipe12.rotateY = Main_Ctrl.translateX*-2;
pCone1.rotateY = Main_Ctrl.translateX*2;
pPipe12.translateY = Main_Ctrl.translateX/25;
pCone1.translateY = Main_Ctrl.translateX/10;

pPipe15.rotateY = Main_Ctrl.translateX*-2;
pPipe14.rotateY = Main_Ctrl.translateX*2;
pCone2.rotateY = Main_Ctrl.translateX*-2;
pPipe14.translateY = Main_Ctrl.translateX/25;
pCone2.translateY = Main_Ctrl.translateX/10;

No comments:

Post a Comment