asah
11-14-2012, 07:29 PM
Hi,,
I write the following code in mel
$startFrame=`currentTime -q`;
int $currentFrame=$startFrame;
while($currentFrame !=0){
print ($currentFrame + ",,");
currentTime $currentFrame;
$currentFrame+=1;
if($currentFrame>471)
$currentFrame=0;
}
remaining code
-------------------------
and when apply this code , the character animation very slow in frames within while loop and when reach frame 0 start animated well
So, how speed up while loop (means between currentTime $currentFrame; in loop) or any other solution
plzzzzzzzz help me :(
I write the following code in mel
$startFrame=`currentTime -q`;
int $currentFrame=$startFrame;
while($currentFrame !=0){
print ($currentFrame + ",,");
currentTime $currentFrame;
$currentFrame+=1;
if($currentFrame>471)
$currentFrame=0;
}
remaining code
-------------------------
and when apply this code , the character animation very slow in frames within while loop and when reach frame 0 start animated well
So, how speed up while loop (means between currentTime $currentFrame; in loop) or any other solution
plzzzzzzzz help me :(
