the stuttering probably comes from the floor_dist=c_trace and if(floor_dist<=4)

Your gravity probably takes you closer than 4 from the floor, so while the slope is still less than 4 you dont go down, until enough slope has been passed for it to be >4 again...

I would recomment removing that c_trace and the whole if/else part... along with the clamp

I would just go with the following:
Code:
while(1)
{
 c_move(me,vector(my.move_vec_x,my.move_vec_y,my.move_vec_z),nullvector,IGNORE_ME|IGNORE_PASSABLE|GLIDE);
 wait(1);
}



just decide on a value and set it for your gravity once in your code somewhere before this


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1