How to Rig and Animate a Semi-Trailer Truck in Blender

How to rig and animate a semi trailer truck in Blender
How to rig and animate a semi trailer truck in Blender

Table of contents

In this tutorial, you will learn how to rig and animate a Semi-Trailer Truck in 8 minutes using Blender 2.83.

Video tutorial

YouTube video
Video tutorial in how to rig and animate a semi trailer

What you will need

  1. Blender version 2.8 or higher
  2. The truck/puller and Trailer models separated into two different collections/layers. The wheels should be separate from the body.
  3. Blender Rigacar addon. Available at GitHub in the following link https://github.com/digicreatures/rigacar/releases/download/v6.0/rigacar.v6.0.zip (Thanks to David Gayerie of digicreatures.net for this amazing addon)

The rigging process

  1. Install Blender Rigacar addon after downloading from the link above
  2. Ensure your truck and trailer model is facing –Y (negative Y) direction in the blender viewport. The wheels should touch the top of the grid, like standing on it.
  3. Apply ‘Location’, ‘Rotation’, and ‘Scale’ transformations.
  4. Select every object in the scene and set the origin to geometry.
  5. Rename the wheels and body control objects as follows to let the add-on discover the structure of your models (See image below): Semi-Trailer trailer naming guide for rigging in blender
Trailer parts naming guide for rigging in Blender
Trailer parts naming guide for rigging in Blender

Rigging the truck/puller

  1. Hide the trailer by clicking on the trailer collection eye icon in the layout panel.
  2. Select all objects of your Truck model by clicking ‘A’ on your keyboard. Then click ‘Shift+A’. In the drop-down go to ‘Armature’ then select ‘Car (deformation rig)’. Rig a car addon will automatically generate an armature and parent the wheels and body to their respective control bones.
  3. In object mode, select the new armature. Click ‘N’ on your keyboard to reveal the properties panel and go down to the ‘Rigacar’ tab.
  4. Click on ‘Generate’. Your truck is rigged now.
  5. Add an empty and place it under the truck as displayed. Rename it to ‘Couplin’ (see image below)

Couplin position on the semitrailer truck
Coupling position under the truck

Parent the ‘Couplin’ to the ‘TRUCK-Body’

Rigging the trailer

  1. Hide the truck by clicking on the truck collection eye icon in the layout panel.
  2. Repeat the same process from step 2 to 3 under ‘Rigging the truck/puller’

Animating your truck and trailer

We are going to start with the trailer then the truck. It is easier that way.

Animating your trailer

  1. Add a curve path and model the path you want your trailer to pass.
  2. In pose mode, select the ‘Root’ bone of your trailer and go to bone constraints. Add a ‘Follow Path’ constraint. On ‘Target’ section, select ‘NurbsPath’.
  3. Still on the Follow Path constraint tab, tick ‘Follow Curve’ and ‘Fixed Position’ options. On ‘Forward’, select –Y (negative Y). Now when you move the ‘Offset’ value between 0 and 1, the trailer moves along the ‘NurbsPath’.
  4. Add a plane that you will be using as ground or road. Place it on the same position as the grid.
  5. Make the plane slightly uneven using the displacement modifier. Then apply Location transformation by clicking ‘Ctrl then A’ then selecting ‘Location’.
  6. Select the trailer armature and go to pose mode.
  7. Click ‘N’ to reveal the properties panel
  8. On the ‘Rigacar’ tab, select one picker at a time to select your plane/road as shown in the video above.
  9. In pose mode when you select the ‘Root’ bone of your trailer and move the ‘Offset’ value of the ‘Follow Path’, constraint, it moves and reacts to the uneven road.
  10. On the ‘Rigacar’ tab, change ‘Wheels on Y-axis’ value from 0 to 1. Click on ‘Bake wheels rotation’.

Animating the truck

  1. In pose mode, select the ‘Root’ bone of the truck. Repeat the same process from step 3 to 4 under ‘Animating your trailer’
  2. Move the ‘Offset’ value of your truck until it is right in front of your trailer as a normal trailer. Note the difference between trailer and truck ‘Offset’ values somewhere on paper.
  3. On frame 1, insert keyframes on the trailer and truck ‘Offset, values by clicking the letter ‘I’ on the keyboard.
  4. Go to the last frame in the timeline and move your truck’s ‘Offset’ value to 1. Insert another keyframe.
  5. Still, on the last frame, move your trailer’s ‘Offset’ value to 1 minus the difference you noted on paper. Insert another keyframe of the new ‘Offset’ value.
  6. Repeat the same process on your truck as step 9 under ‘Animating your trailer’. Then click on ‘Bake car steering’. Play your animation and the truck and trailer will move along the path.
  7. In pose mode, add a ‘Damped Track’ constraint to the ‘Root’ bone of your trailer. Under ‘Target’ select the ‘Couplin’. ‘To’ select –Y (negative Y). Now your trailer appears hooked to the truck when in motion.

If you have any questions, put them in the comment section below. Request for project assistance from one of our professional animators here. Check out more animation and visual effects tutorials here.

A Blender interface screen recording demonstrating the utilization of the Product Rendering Tools Addon in Blender.
Get Product Rendering Tools Addon

Share With Friends

Facebook
Twitter
LinkedIn
Reddit

Ask a Question

Subscribe
Notify of
guest

17 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
anton
anton
10 months ago

I have parent the truck body to the couplin
But when following a path the trailer goes through the truck.
The couplin moves to the front

Last edited 10 months ago by anton
Anton
Anton
Reply to  E. Gachoki
10 months ago

I have no idea what to set at the beginning of th path couplin the trailer ?

Anton
Anton
Reply to  E. Gachoki
10 months ago

Thanks i already did that.

Anton
Anton
Reply to  Anton
10 months ago

Thanks i did not understand offset value i am dutch but it means the starting point. There is no translation for offset value =
Offset waarde. We dutch take over english words in our dutch language. I have no idea why.
I will make a new forward path with a better offset value.
Thanks sofar.
Greetings Anton

Anton
Anton
Reply to  Anton
10 months ago

Ye now it works thanks.

Anton
Anton
Reply to  E. Gachoki
10 months ago

Unfortunately the coupling or offset value did not the trick. The trailer still goes through the front truck. How can i prevent the coupling is going through the front from the truck.

Screenshot_20230627_081845_VLC.jpg
Anton
Anton
Reply to  E. Gachoki
10 months ago

Yes that is good the problem is the origin which is moving to the front from the truck. I think i have to parent it to something else.

Anton
Anton
Reply to  E. Gachoki
10 months ago

Oke i will check that thanks

Anton
Anton
Reply to  Anton
10 months ago

My trailer has no middle axle.
What now. Ithe trailer has only wheels no axle

Last edited 10 months ago by Anton
Alex Pintea
Alex Pintea
3 years ago

Nice tutorial. Thank you!

More Like This

We use cookies on our website to enhance your browsing experience. By continuing to browse this website you consent to the use of all essential and non-essential cookies. For more information, please read our Privacy Policy.