
I’m trying to make an arcade basketball game like the image above. I’m just wondering how would the gravity work? As you can see the sides of the cage gets more narrow as it gets closer to the basket. So I wouldn’t be able to draw a line to act as a wall. It almost seems as though I will need to update the boundaries as the ball is moving. Can anyone come up with a better idea?