Solvable model for optical and radiative collisions