Something like that:
 Code:
vec_set(t_v2,vector(my.x,my.y,my.z+my.max_z));
			vec_set(t_v,vector(-384,0,0));vec_rotate(t_v,vector(camera.pan,my.tilt-30,my.roll));vec_add(t_v,t_v2);
			vec_set(camera.pan,vector(camera.pan,my.tilt-30,my.roll));
			c_trace(t_v2,t_v,IGNORE_ME|IGNORE_PASSABLE);
			if (trace_hit == 1)
			{
				vec_set(t_v,target);
				vec_sub(t_v,t_v2);
				vec_normalize(t_v,vec_length(t_v)-5);
				vec_add(t_v,t_v2);
			}
			vec_set(camera.x,t_v);

to use free camera with collision detection, attach it to moving small entity (maybe a ball)


I switched to other account since marth 2010. Guess which.