Offset the wall by the radius of the ball. By doing this, you compensate for the radius of the ball, so thereafter, you can consider the ball to be a point, and do the computations shown in your reference.
!enter image description here
Offset the wall by the radius of the ball. By doing this, you compensate for the radius of the ball, so thereafter, you can consider the ball to be a point, and do the computations shown in your reference.
!enter image description here