before the collision

after the collision




small ball

-0.5

+0.5

big ball

+1

+0.5