So JCL, are you saying the below change would (in theory) solve this calculation?
Or at least "smooth out" the roughness of Rot_Speed caused by physics frame-rate variations.
Code:
function speed()
{
   while(1) 
   {
     vec_set(Old_Rot, my.pan); 
     wait(1);
     vec_set(Now_Rot, my.pan);   
     vec_diff(Rot_Speed, Old_Rot, Now_Rot);
     vec_scale(Rot_Speed, time_frame);   //JCL-inspired frame-rate correction
     wait(1);
   }
}



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial