vec_set(ground_vec,vector(my.x,my.y,my.z + my.min_z));
vec_set(target,vector(my.x,my.y,my.z - 5000));
my.z -= c_trace(ground_vec,target, IGNORE_ME | IGNORE_PASSABLE) -1;
my.tilt = -asin(normal.x);
my.roll = -asin(normal.y);

thats what ended up working for me, based off of your post, thanks for the help.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly