Vehicle Setup - Config Asset Adjustment (UE5)

Setting up your config assets for use in the blueprint

Once you've gone through the vehicle setup stage you're finally in a spot where you can start to make your vehicle driveable. This page will go through using a correctly set up rig/physics asset to fit any vehicle to our system.

In order to start editing your new vehicle - head on over to the sedan section in the "VehicleVarietyAdv -> Blueprints -> Sedan" Folder and drag and copy the Sedan into our Hatchback folder.

Copying Files

Make sure you are COPYING the file to the new location

Now rename the blueprint to BP_Hatchback, we're now ready to copy over the config files for the vehicle.

Copying over files in Sedan_Config to the Hatchback folder

Make sure to rename each asset to their corresponding new owner.

The new config files in their happy new home

Animation Blueprint

This process is the same as UE4, the images are from UE4 but the process doesn't change.

Naturally these files require adjusting to match the new vehicle. Let's start with ABP_Hatchback - open it up and in the event graph, we're going to change the cast to the sedan to cast to the new Hatchback blueprint we made in the previous steps. This blueprint is controlling wheel turning angle, as well as the steering wheel.

The old animation blueprint, currently casting to the sedan
The cast has been changed to cast to the new vehicle "BP_Hatchback" and we're now grabbing the steering angle from "BP_Hatchback"
The new graph set up correctly. You should not have to adjust anything else in this Animation Blueprint.

Chaos Wheeled Vehicle Component

Now we'll adjust the values of the Vehicle Wheel class named "BP_Hatchback_FrontWheel_Chaos" and "BP_Hatchback_RearWheel_Chaos"

Replace the tire config with the new Hatchback one and adjust the values of the wheel dimensions based off your measurements in your DCC. The measurements for this wheel are 31 for the Shape Radius Radius and 19 for the Width.

Add the slipgraph to the vehicle component, and make sure "Affected by Handbrake" is selected

Only add steering to the front wheel component

Rear Wheel Setup
Front Wheel Setup

Torque Graph

The vehicle's steering mechanics are very similar to UE4's, the only difference you need to be aware of in UE5 is that acceleration is driven by a torque graph

Simply add your hatchback torque graph we copied into the mechanical setup menu under the "Vehicle Movement Component" in the BP_Hatchback asset

Everything should now be set up to adjust within the vehicle's blueprint.

Last updated