try this:

Code:


//scale vector, make it slower
vec_scale(temp,(Scale *time_step));

//calculate how many times to rotate when vector is scaled
tmpCounter= Scale *time_step ;

while(counter < tmpCounter)
{
c_rotate(me, temp, glide);
counter+=1;
wait(1);
}





edit: if it works now you still should include time_step in your code otherwise the rotation wont be smooth

Last edited by nipx; 01/05/07 22:03.