i had most of my temp(learning) code then i noticed theres a jerk every second it seems.. has to be a misplaced wait.. or im using it wrong.. i removed everything to find where its at. im left with about 20 lines of code. but havent located my mistake.

heres the code.....
Code:
#define move_speed skill1
VECTOR move_vec;

function update_movement()
{
   move_vec.x = key_force.y * (time_step * my.move_speed);
   move_vec.y = -key_force.x * (time_step * my.move_speed);
}

//uses: move_speed
action player_move()
{
   player = me;
   //my.temptilt = 0;
   c_setminmax(my);
   camera.genius = player;
   vec_for_min(feet_bottom,me);
   while(me != NULL)
   {
      //update_gravity();
	update_movement();
      //handle_jumping();
	c_move(my,move_vec,fall_dist,GLIDE);
      //update_camera();
	wait(1);
   }
}



somewhere is a problem has to be simple but i just dont see it.
here is my main function..

Code:
void main()
{
   time_smooth = 0.666;
   video_mode = 9;
 //video_screen = 1;
   level_load ("******.WMB");
   wait(2);	
}



i tried time_smooth thinking time_step was changing... no difference.

can anyone please point out my mistake(s).

could it be in my c_move? seems if i add gravity the jerkiness is real noticable

heres my gravity piece (still jerky w/o it)

Code:
function update_gravity()
{
   ground_dist = c_trace(my.x,vector(my.x, my.y, my.z -1000),USE_BOX)-feet_bottom;
   if(ground_dist > 0)
   {
      fall_dist.z = -30 * time_step;
   }
}



Thanks in advance.
i appreciate all the assistance, sorry to bring noob problems to the table. but i cant make the bed if i dont unfold the sheet first,lol


ever hear the expression once you learn it's hard to forget...
I think learning programming languages as,

I just mastered old school roller skating...
Now they have roller blades, Same wheels, different setup