Ok, I have a 3rd person view and I need to detect if something gets in between the player and camera view.
I set the trace_mode to ignore me and passable, then I use result = trace(player.x,camera.x) then I check if result is smaller than the distance of palyer.x and camera.x using vec_dist, if it is I execute a command to move the camera.
The problem is it either always moves the camera, even when nothing is in the way or never moves it, even when something is in the way.
Any suggestions or code snips would be helpful.
note: the player can move the camera.x by pressing a key.
thanks
Brandon
[This message has been edited by AcidCrow (edited 28 March 2001).]