say for example, you have a rocket... when the rocket hits, it runs:
c_scan(my.x,my.pan,vector(360,0,500),IGNORE_ME); //500 being the range, you can increase this.
now, every physics object that has enable scan and has the following code attached will be pushed away perfectly... no bugs here:
if (event_type == EVENT_SCAN)
{
VECTOR temp_dir;
VECTOR ex_dir;
vec_set(ex_dir,you.x);
vec_set(temp_dir,my.x);
vec_sub(temp_dir,ex_dir);
vec_normalize(temp_dir,500-result);//500 is the max speed
phent_addvelcentral(me,temp_dir);
}