Vehicle Setup - Import

Setting up your vehicle in Unreal Engine

Once your vehicle is set up and rigged, it's time to bring it into engine. Simply import "SK_Hatchback_01a" into unreal. Make sure you select the skeleton from the FPVIS pack -"SK_Vehicle_Skeleton" You should now have both a physics asset and a skeleton in engine.

The setup for the physics asset is covered in the Unreal Documentation, however ours differs slightly.

Open your physics asset and delete all the physics components

Go to options and select "Show all bones" you should see all the bones available - the ROOT, four wheels and the steering wheel.

Select the four wheel joints and head on over to the right side of the window, there should be a "tools" tab - set your primitive type to sphere and select "Add Bodies"

Once this is done, head on over to the details panel and set the Physics Type to "Kinematic"

Next you'll want to generate the physics collision for the whole body - this is done for vehicle physics/balance and will not effect how the vehicle collides with things.

Select the vehicle root, head on over again to the tools panel and make the primitive type "Box"

Once the box is generated, position it how you'd like. This physics asset has an influence on the vehicle's balance - if you take a look at the box truck or campervan you can see how this asset has been adjusted to assist with the vehicle's overall handling.

Make sure you set the collision response on the vehicle's collision box to "Disabled"

You can go through the standard art import process for the rest of the vehicle to add materials. We suggest using our material master shader to keep things consistent - just copy over a material instance from one of the other vehicle's materials folder and adjust it to your liking!

Make sure you set the compression type of the ORM maps to Masks (No sRGB) this ensures that the materials are all accurate.

You'll also want to import the vehicle's doors and any other separate objects as we'll be using these within the blueprint.

Last updated