IMPORTANT NOTE: I only created the props. YOU need to make it into a mini game. No scripts included.
Well you know how basketball works so this is going to be a short description.
I added a minimalistic scoreboard, where you can easily show the state of your play.
The basketball and the hoop has 3 LODS.
How would I build this myself?
- Trigger the Game: Place a box collider at the court entrance to detect when the player walks in. Remember circle glowing shapes in GTA? Same logic.
- Start the Game: Add a sphere collider and a physics material to the basketball mesh for realistic bouncing on the court.
- Score & Track: Position a trigger collider just below the hoop's rim. When the ball passes through, trigger a particle effect, play a "swish" sound, and update the scoreboard UI!