let m1 , u1,v1 be the mass and intial and final velocity of object 1
let m2, u2,v2 be the mass and intial and final velocity of object 2
initially p = m1*u1 ( initial momentum)
KE = m1 * u1^2 / 2
final momentum = m1v1 + m2v2
but by conservaiton of momentum
m1u1 = m1v1+ m2v2
but since kinetic energy is also conserved
m1 * u1^2 = m1 * v1^2 + m2 * v2 ^2
if the bodies do not follow each other ( ie angle between is not equal to 0) , then the momentum would still be conserved, however the kinetic energy would end up higher than the initial one( since momentum is a vector while KE is a scalar)
kinetic energy will be conserved only when the angle between is 0 , ( if we give the prime preference to conservation of momentum)