Basketball

Objective: Create a basketball that is able to move, rotate, and bounce realistically.

Problem: How can we make the basketball rotate correctly when it bounces off the borders?

Solution: Determine the signs of the change in rotation depending on how the ball hits the borders, applying basketball physics.