Creating New Parts
Learn how to create new vehicle parts.
Last updated
Learn how to create new vehicle parts.
Last updated
In the editor, every vehicle part can be created from the appropriate section.
Every part editor has the following functionality for creating new parts:
Create a new vehicle part asset with the specified name.
Set the new vehicle part fields to the default values.
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.