Vehicle Setup - Config Asset Adjustments (UE4)
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.
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 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
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.
Now we'll adjust the values of the Vehicle Wheel class named "BP_VW_Hatchback"
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.
Adjusting the values based off measurements in your DCC
Everything should now be set up to adjust within the vehicle's blueprint.
Last modified 11mo ago