Rigging the vehicle model in Blender | [Part 5] Low poly vehicle for UE4

by Arthur Ontuzhan


Posted 4 years ago
Last edit 1 month, 2 weeks ago

Share on

Introduction

This is the fifth part of the tutorial series on how to create a low poly vehicle for Unreal Engine 4 using Blender and other free software. You can see the outcome of the tutorial series or get project files here.

In this tutorial, we will rig the low-poly vehicle in Blender for Unreal Engine 4. I will use Blender 2.82, but newer versions also should work.

You can find other parts here:

Also, there's a video if you have difficulties to understand some parts.

Vehicle rigging addon

I have made a blender addon that helps with the whole vehicle rigging process. If you don't want to use the addon, I have a tutorial where you rig vehicle without it

  • Go to this page and just follow instructions how to install the addon.

If you followed all the steps, you should see the addon checked in the Blender's addon list and when you press N key in the 3D viewport, you should see a new section in the properties menu.

Basic vehicle rig

To get basic rig for vehicle with the addon doesn't require much time.

  1. Open the rigging addon menu by pressing N key and open UE4 vehicle tab.
  2. With object pickers pick objects in viewport or select them from the list.
    • Vehicle Base - Is vehicle model without wheels.
    • Wheel FR - Front Right wheel.
    • Wheel RR - Rear Right wheel.
    • Wheel FL - Front Left wheel.
    • Wheel RL - Rear Left wheel.
  3. After you have selected all parts you should see Rig Vehicle button enabled - press it.
  4. Your vehicle base rig is done. You should end up in the pose mode, where you can test if vehicle is rigged correctly.

Rigging doors

The first thing that we need to do, to start rigging doors with the addon, is to expand the Additional Bone Rigging tab in its menu.

Now we need to set our Bone Head location and Bone Tail location. We can do that by entering values manually, or by using Set Location buttons that will set locations to our selections in edit mode. This time we will use the second method.

  1. Go into object mode and select vehicle base mesh.
  2. Enter edit mode Tab.
  3. Select only door's outer front side edge - Watch the image below.
  4. Press Set Head Location button.
  5. Select only door's outer rear side edge - Watch the image below.
  6. Press Set Tail Location button.

You should see similar head and tail values as in the image above. It depends on which side doors you chose to rig first.

  1. Select door and door handle mesh - Use L to make mesh part selection faster.
  2. In the Bone Armature value set vehicle armature.
  3. Set Parent Bone to our Root bone.
  4. Set how new bone will be named. I used Left_Door and Right_Door for door names.
  5. Click on the Add Bone button.

For the second door do the same steps:

  • Set new Head and Tail locations.
  • Select second door and door handle meshes.
  • Give a new bone name.
  • Press the Add Bone button.
  • Also, if you want to check in pose mode if doors got rigged correctly, before pressing Add Bone button check End in Pose Mode checkbox. After adding the bone it will automatically set you to pose mode.

Rigging steering wheel

The steering wheel will be rigged in the same way as our doors were. But this time we will just select steering wheel faces for bone head and tail locations.

  1. Select steering wheel's top face -Watch the image below.
  2. Press Set Head Location button.
  3. Select steering wheel's bottom face. Enable X-Ray to see that face. Watch the image below.
  4. Press Set Tail Location button.

You should see similar head and tail values as in the image above.

  1. Select both steering wheel's meshes - Use L to make mesh part selection faster.
  2. Change what will be a bone name. I set it to Steering_Wheel.
  3. Click on the Add Bone button.

Rigging wheel axles

Same principle as for door and wheeling steer rigging.

  1. Select axle's inner face - Enable X-Ray to see that face. Watch the image below.
  2. Press Set Head Location button.
  3. Select axle's outer face. Enable X-Ray to see that face. Watch the image below.
  4. Press Set Tail Location button.

In the image above I have selected Front Right Axle. You should get similar values for head and tail.

  1. Select axle mesh - Use L to make mesh part selection faster.
  2. Change what will be a bone name. I used these names for my axles: RL_Axle, RR_Axle, FR_Axle, FL_Axle.
  3. Click on the Add Bone button.

Repeat the same steps for each axle.

Adding duplicate wheel bones

We will need to add some additional bones for our wheels and rig them manually, so our wheel mudguards and brake calipers would turn together with wheels.

  1. Into Object mode select armature.
  2. Enter into edit mode - Tab.
  3. Select all four wheel bones.
  4. Duplicate them by pressing Shift + D.
  5. Into Outliner find newly duplicated bones and select them.
  6. Press Ctrl+F2.
  7. Into newly opened Batch Rename widget set Data Type to Bones.
  8. Into find field type .001.
  9. Into replace field type _Double.
  10. Press the OK button.

Now we have made new bones and using batch renaming we renamed them to names which makes more sense to us. Now we need to assign bones to mesh vertex groups.

  1. Into object mode select the vehicle base mesh.
  2. Enter into edit mode - Tab.
  3. Select one mudguard and brake caliper mesh. See in the image below (I hide the wheel mesh so could show better) Use L to make mesh part selection faster.
  4. Into Object Data Properties in Vertex Groups section select Root and press Remove button.
  5. Into Object Data Properties press + button in Vertex Groups section.
  6. Rename the new Vertex Group to the correct wheel duplicate bone name.
  7. Click the Assign button.
  8. Repeat the same thing for other duplicate bones.

Now you can go to armature pose mode, and check if each wheel double bone moves its own mudguard and brake caliper.

Exporting model

Before exporting the model, we need to check if our model normals are right. After parenting mesh to bones, some of our mesh normals might have flipped. You can find how to do that here.

After that is done, we can export our model.

  1. Go into object mode.
  2. Make sure that only the vehicle model and armature collection is enabled.
  3. Select all meshes and armature by pressing A.
  4. Go to File -> Export -> FBX (.fbx).
  5. In the export settings check Selected Objects.
  6. Select only to export Armature and Mesh object types.
  7. Set Smoothing to Face.
  8. Uncheck Add Leaf Bones.
  9. Choose where you want to save your model and press Export FBX button.

Video


Share on