Hi,

yes, this is exactly what I meant! Just had a quick look over the code and I quickly found this part:

Code:
result = c_trace(my.x,vector(my.x + 30 * cos(my.pan), my.y + 30 * sin(my.pan), my.z),IGNORE_PASSABLE|IGNORE_SPRITES|IGNORE_MODELS); 
if(trace_hit){trace_center = 1;}else{trace_center = 0;}
///
result = c_trace(my.x,vector(my.x + 30 * cos(my.pan), my.y + 30 * sin(my.pan), my.z + 70),IGNORE_PASSABLE|IGNORE_SPRITES|IGNORE_MODELS); 
if(trace_hit){trace_head = 1;}else{trace_head = 0;}
if(trace_head == 0 && trace_center == 1)
{...}



This is essentially exactly what I tried to say with my ascii-draft. I tried to run it and it seems to work pretty good! Can't believe that it is basically this simple ^_^

Thanks, this will be a great help to me!!



Alan