When two objects collide in a glancing blow, momentum is, of course, conserved . . . but its a little more complicated than a couple of objects colliding on a linear air track. The momentum in the x direction is conserved and the momentum in the y direction is conserved.