Making mudguards and brake calipers move together with wheels | [Part 7] Low poly vehicle for UE4

by Arthur Ontuzhan


Posted 4 years, 5 months ago
Last edit 8 months, 3 weeks ago

Share on

Introduction

This is the seventh 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 make the vehicle's mudguards and brake calipers move together with wheels.

You can find other parts here:

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

Checking duplicate bones

If you have followed these tutorial series, then you should already have correctly rigged wheel duplicate bones. If you haven't followed the tutorial series, then you can find how to do that here.

If you want to make sure if you have duplicate wheel bones rigged correctly, you can check that by following these steps:

  1. Open vehicle's Skeletal Mesh asset.
  2. Select one of the wheels duplicate bones. We named them with _Double suffix
  3. In the viewport move bone around.
  4. If with the bone only mudguard and brake caliper moves, then you have correctly rigged bone.

Making mudguards and calipers move with wheels

We will make this happen by adding few new nodes into our Animation Blueprint's AnimGraph.

  1. Open vehicle's Animation Blueprint.
  2. Open AnimGraph.
  3. After the Wheel Handler node add Copy Bone node.
  4. In the Copy Bone node details as a Source Bone set one of the wheel bones.
  5. As a Target Bone set the previously selected bones duplicate bone.
  6. Check Copy Translation.

This node will make mudguard and brake caliper follow the wheel's location, but it will not rotate together with the wheel. We will fix that by adding another node after the Copy Bone node.

  1. After Copy Bone node add Look At node.
  2. In the Look At node details as a Bone to Modify set wheel's duplicate bone.
  3. As a Look at Target set wheel's bone.
  4. Change Look at Location to X 0, Y 100, Z 0. You can set Y less than 100, just need to be it more than 0.

Now you need to do Copy Bone node and Look At node for each wheel. After you do that you should get something similar to what you see in the image below.

After you have done all wheels and try to ride the vehicle, you should see that mudguards and brake calipers move correctly with the wheels. But you might notice, that axles stay static and don't look right.

Making axles to follow wheels

If you have looked at some of my older tutorials then you probably might have seen this. We will do the same thing in animation blueprint what we did in that tutorial.

  1. After all mudguard and brake caliper nodes add a new Look At node.
  2. In the Look At node details as a Bone to Modify set axle's bone.
  3. Change Look at Axis to X 0, Y -1, Z 0.
  4. As a Look at Target set wheel's bone.
  5. Change Look at Location to X 0, Y 0, Z 0.

Now repeat the same thing for each axle. After that, you should get something similar to what you see in the image below.

Now axles should point to the wheels correctly.

Video


Share on