RIDE Access and Quickstart Steps
- Make sure you have SVN software installed
- Install Unity Hub
- Make sure you have signed the RIDE Distribution Agreement (request access via the Obtain RIDE page)
- Ask for SVN credentials
- Checkout /trunk in the private repository URL
- Use trunk/NewProjectTemplate/runUnity.bat to download and run the proper version of Unity
- Open LevelSelect scene, click Play in the Unity editor, and then select different examples from the Demos menu to explore various RIDE capabilities and integrations
RIDE NewProjectTemplate
This is a template Unity project that has been created to demonstrate how to setup a new Unity project and connect it with RIDE.
Custom project settings modified for the template:
- Project Settings → Layers → Added “Terrain” as User Layer 8 to listing
- Project Settings → Tags → Added “Enemy” to listing
Newtonsoft Json: Added the following via Window → Package Manager
Newtonsoft Json 3.2.1 (com.unity.nuget.newtonsoft-json) via Unity Registry
- OPTIONAL – ML Agents: Added the following via Window → Package Manager
- ML Agents 2.0.1 (com.unity.ml-agents) via Unity Registry
- OPTIONAL – ML Agents: Project Settings → Player, Other Settings, Scripting Define Symbols field, added RIDE_ML_AGENTS
- OPTIONAL – Photon Networking (PUN): Project Settings → Player, Other Settings, Scripting Define Symbols field, added PHOTON_UNITY_NETWORKING
- Added input package via menu item Ride → Player Input → Setup Player Input Package
- Alternative is to add Input System (com.unity.inputsystem) via Package Manager, Unity Registry. Note, confirm Active Input Handling option when prompted and restart Unity.
- Project Settings → Player → Other Settings, Configuration, Active Input Handling option set to “Both”
- Project Settings → Input Manager → Axes, increased Size value by 2
- Renamed new slot “Horizontal Rotate”
- Cleared any existing values
- Entered the following values:
- Gravity, 0
- Dead, 0.19
- Sensitivity, 1
- Type, “Joystick Axis”
- Axis, “5th axis (Joysticks)”
- Joy Num, “Get Motion from all Joysticks”
- Renamed new slot “Vertical Rotate”
- Cleared any existing values
- Entered the following values:
- Gravity, 0
- Dead, 0.19
- Sensitivity, 1
- Type, “Joystick Axis”
- Axis, “4th axis (Joysticks)”
- Joy Num, “Get Motion from all Joysticks”
- The root directory is setup with RIDE externals described below in the “Linking RIDE to Your Repository” section
Note, review the NPT Package Manager listing for additional packages required for certain capabilities.
Copying NewProjectTemplate for Your Own Project
- Checkout /trunk of private SVN repository URL
- Right click on NewProjectTemplate, drag it to your desired folder, and select “SVN Export Versioned Items here” from the context menu
- Rename NewProjectTemplate to whatever you prefer
- Remove the following 3 folders:
- Assets/Ride
- Assets/Ride_Art
- Assets/Ride_Dependencies
- Follow the “Linking RIDE to Your Repository” section below to link to the RIDE code
Linking RIDE to Your Repository
In order to use the RIDE API functionality and assets, you’ll want to setup SVN external links on your repository.
- Create a new Unity Project (Use Unity LTS 2020.3.x or later)
- Check in your project to SVN
- On the root folder of your unity project (the one that contains Assets, Project Settings, etc), add external properties. If using TortiseSVN:
- Right-click Assets → TortiseSVN → Properties
- New → Externals
- Setup externals to look like the following based upon /trunk of private SVN repository URL (Peg # should be the latest; use the Find HEAD-Revision button to verify):
- Click OK
- Perform a SVN Update and you will receive all the files
Externals Content
The RIDE API Externals consist of the of the following 3 directories:
- Ride: Contains all the RIDE API source code and example scenes that show how to use the API.
- Ride_Art: Contains all character/vehicle 3D models and animations as well as particle effects (explosions, fires, etc.), sound effects, among other content in order to create higher production quality demos. OWT Terrains are not in this folder.
- Ride_Dependencies: Contains libraries and source code that the RIDE API depends upon.