Updated 2 years ago
Swoosh is a motion tracking basketball free throw game.
Swoosh is a small Unity Team's collaboration project between myself and fellow contributor @Tom Ellis. We've made a basketball free throw game to be used at a Trade Show whereby booth visitors can try their hand at making virtual free throws.
We know.. there's a couple basketball simulators out there already.. but we wanted one we can customize for individual needs, dynamic placement of corporate logos, etc. The cool part is the use of motion tracking cameras (we're using Orbbec, and translating user skeletal motion into interaction with a digital basketball).
We all like the Chachkies that you get when you visit a booth for information. If a booth isn't visually exciting, most people just pick up the give-away, and keep walking.. The game is a way to make a booth stand out, and be a visually entertaining, and interactive fun way to attract and engage with prospective customers.
We've used a nice Basketball Arena asset on the Asset store. The asset's Basketball net was a little heavy in terms of vertices.. (around 60k vertices each net), so we've used blender to whip up a simple low poly model (60 vertices) with a simple alpha texture wrap. Then, within Unity - applied a cloth to it to allow for the basketball and net to have a cool physics interaction. Modern People , VR Hands and Arms, and Gestures MoCap2 were other assets incorporated.
A Settings UI allows for customization of various sound levels for game effects, the crowd, basketball sounds, music, etc as well as configurable elements (whether two hands are required, inactivity timers for cinematics to display.) Custom scripting for all image loading allows for reuse and branding with different corporate logos and their respective color schemes.
The project incorporates Cinemachine and Timeline for cut scenes, and for activating animations, scriptable game objects and particle effects. Post Processing V2 for bloom and color grading.
Lastly, we built in a way to control the app using an inexpensive off-the-shelf remote clicker, to start new games, adjust the Orbbec to properly adjust to players of various heights, etc. and also so the presenter (of the kiosk or trade show table) can be out in front with the user.
If you're interested in using it to spice up your trade show, kiosk, etc., contact me here on Unity Connect.
Rod Ellison
Staff Engineer - Programmer
Game Languages
Supported Platforms