implementing collision prediction using intersection of t_x and t_y collision