Custom Vehicle Controller
  • Custom Vehicle Controller
  • Guides
    • Workflow
      • Quick Setup
      • Creating New Parts
      • Modifying Parts
      • Creating Vehicle Parts Presets
      • Customizable Sets and Runtime Parts Change
      • Engine Performance Customization
      • Exposing Current Car Stats
    • API
      • CustomVehicleController
      • VehicleEngineSoundManager
      • RaceManager
      • RacerProgress
      • RaceSpawner
      • CollisionHandler
    • Vehicle Controller Input Provider
      • Input System Example
      • Mobile Input
    • Tips, Warnings and Requiremens
      • Work With Editor
      • Vehicle Set Up
    • AI Setup
      • AI Racer Creation
      • AI Racer Setup
      • AI Chaser Setup
      • Race Creation
      • Race Configuration
      • Race Information
    • Vehicle Damage System
      • Vehicle Damage Controller
      • Collision Area Partitioner
      • Part Damage Handler
      • Vehicle Attachments Aligner
      • Collision Handler
    • Additional Settings
      • Custom Vehicle Controller
      • Car Visuals Essentials
    • Package Settings
      • Assets Save Location
      • Project-Wide Surface Settings
    • Extra
      • Adding Visual Effects
        • Individual Effect Set Up
      • Adding Sound Effects
        • Adding Engine Sound
        • Adding Extra Sound Effects
  • Converting To Other Render Pipelines
    • Convert To Built-in RenderPipeline
    • Convert To HDRP RenderPipeline
Powered by GitBook
On this page
  1. Guides
  2. Workflow

Creating New Parts

Learn how to create new vehicle parts.

PreviousQuick SetupNextModifying Parts

Last updated 1 year ago

In the editor, every vehicle part can be created from the appropriate section.

Every part editor has the following functionality for creating new parts:

  1. Create a new vehicle part asset with the specified name.

  2. Set the new vehicle part fields to the default values.

  3. Assign the newly created vehicle part to the controller if the controller is selected.

After providing the asset name and clicking the "Create New (part type) Asset", a scriptable object will be created at the location:

"../CustomVehicleController/VehicleController/VehicleParts/(Part Type Name)"

You can move the "CustomVehicleController" folder wherever you want, but the path from the CustomVehicleController folder to the (Part Type Name) folders and folder names must remain unchanged.

After creating a new vehicle part asset, it will be assigned to the selected vehicle controller or preset if "Use Presets" is toggled on.

The new vehicle part asset will be created with default field values.

If a vehicle controller is selected:

If a controller is set to use presets, change to any part object field in the editor updates the corresponding part field in the preset SO, otherwise it updates the corresponding field from the customizable parts set.