[RELEASED] Racing Starter Kit - NEW v3.0 UPDATE

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.

the link to the doc is not working “Sorry, the file you have requested does not exist.”

Hi livium, the link has been fixed, thank you for noticing.

1 Like

is there still support for this?

Hello there, Shukumei. Support is available for this asset.

How do I keep track of the bot’s position in the race in a variable?

Hi there, on the new v3.0 we introduced a codebase overhaul. To answer your question, you can access the race position of any car with it’s player number from the RealTimeRacePositions runtime item.

  1. Declare a RealTimeRacePositions runtime item: example:

public RealTimeRacePositionsItem racePositions;

  1. Use racePositions.Item.GetPlayerRacePosition(playerNumber);

That method will return the race position of the player you requested using playerNumber.
Any other questions please send us a mail at spinmotiongames@gmail.com