Racing Starter Kit
by SpinMotion
RSK is an ideal template for Unity developers of all levels. Beginners can jumpstart their racing game with a full prototype, while advanced users can extend it with new physics, features or mechanics.
Features:
-
Modular Architecture: Utilizes GameEvents ScriptableObject for decoupled, event-based communication, avoiding singletons and simplifying customization.
-
Runtime Management: Leverages RuntimeItem and RuntimeSet for dynamic referencing of game objects (e.g., race managers, AI waypoints), enhancing flexibility.
-
Comprehensive Race System: Includes race start/countdown, checkpoint tracking, lap timing, and finish conditions (win/lose/timeout), all tied to a real-time position calculator.
-
UI Framework: Dual-layered GUI system (Menu UI and Race UI) for pre-race setup (car color, laps, AI bots) and in-race feedback (position, timer, pause/restart).
-
AI Behaviour: AI with waypoint navigation, obstacle avoidance (reverse when stuck, smart steering), and dynamic spawning.
-
Cross-Platform Input: Supports both hardware (keyboard/gamepad) and mobile touch controls via a flexible input manager.
-
Track Flexibility: Six track-based prefabs (Map, AI Waypoints, Spawning, Cameras, Checkpoints) allow easy adaptation to new racetracks.
-
New in v3.0: Complete codebase overhaul for better performance, maintainability, and extensibility compared to previous versions.
-
Sound Effects: Integrated SFX system for race cues (e.g., “Get Ready”, “Go”).
-
Compatible with Unity 6
-
Multiple Camera Views with automatic look back in reverse.
Cross-Platform: Tested on Android, Windows and Mac.
Tested in Unity 2021.3.45f1 and 6000.0.43f1 versions.
You can contact SpinMotion at spinmotiongames@gmail.com or in X (Ex-Twitter) by sending a DM.
