What exactly are you trying to do with the information on where the ball is? In the past what i've always done is use movement vectors that I use in a move command (c_move or ent_move) before I calculate the movement with the move command to do any type of calculation (be in a camera position, or anything else).

but I can help you with any physics questions if you need.