How to make object bounce

How to reflect rays on hit You could raycast, and reflect the ray and move the ball in the direction of the new ray.