Download Sample ⬇️
What does it do?
NOTE: Make sure to import this Unity package into the Spatial Starter Template, or a Unity project that already has the Creator Toolkit dependencies installed.
Come shoot some hoops and practice your free throw at Spatial Creator Court! Bring some friends and challenge each other to a friendly pick-up game.
This sample Unity project includes:
⛹️ Grabbable/Shootable Ball - Visual Scripting graphs that allow a player to pick up an shoot a basketball. The ball bounces & rolls with real physics!
BasketballCarryController
BasketballController
🏀 Ball Spawner - No ball hogs here! With the ball spawner, anyone can pop-in, grab and ball and practice their free throw. Once a ball is spawned/picked up, it will automatically disappear after 30 seconds to reduce memory load if many balls are spawned.
Spawn Balls
💯 Scoreboard - When you score, points are automatically tallied on the scoreboard, floating text appears above the basket, and a “swoosh!” sound is played. This logic is handled in a Visual Script graph attached to each basket. Reset the score by pressing the Interactable below the scoreboard.
BasketballScoreInHoopA
BasketballScoreInHoopB
ResetScore
👽 Updated 3D & 2D Spatial Logos - Keep things fresh with Spatial’s latest logo refresh, both in 2D (center court) and 3D. There’s even a basic Visual Script that’s rotating the 3D logo above the scoreboard.
RotateLogo
🏞️ Basketball Court Environment - Free download from Sketchfab by Stew004
🌅 Skybox - AI generated skybox, created using Blockade Labs’ free AI Skybox generation tool: https://skybox.blockadelabs.com/
Spatial/Community
Spatial Official Sample ✅
Feature
Game TemplateVisual Script GraphSpace/EnvironmentInteractable
Created By
Spatial Team
Upload Date
July 31, 2023