Bouncing/juggling

Hi all,

What’s the easiest way to make this falling ball bounce between these two cubes exactly same (both cubes are rotated equally) but once second is touched, the ball is not coming back at the same direction… Is it ok to trust just a physical material applied to the ball or should I get something edited within projectile settings instead?