Thursday, January 29, 2009

Scripts - Stage4

//this script redefines the variable in reference to $i (the while loop counter)
// it also introduces the trick of "currentTime $i" to refresh the screen to view the action

float $rotate = 6.5;
//int $int = 1;
//string $string = "pCube";

int $i = 1;
while ($i<50){
//trick to refresh the frame
currentTime $i;

$rotate = (1 * $i) + 2;

//duplicate, move and rotate
duplicate -rr;
move -r 0 -0.275236 0 ;
rotate -r -os 0 0 $rotate ;


//counts
$i = $i + 1;
}

No comments:

Post a Comment