Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

How to rig and animate a semi-trailer truck in blender 2.83 in 8 minutes

0

Gachoki writes:

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

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 (Thanks to David Gayerie of digicreatures.net for this amazing addon)
4. Guide to how to name your model so it can work with Rigacar addon. The diagram is here https://gachoki.com/how-to-rig-and-animate-a-semi-trailer-truck-in-blender-2-83-in-8-minutes/#Semi-Trailer-trailer-naming-guide-for-rigging-in-blender/

The rigging process

1. Install Blender Rigacar addon after downloading from the link above
2. Ensure your truck and trailer model are 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.

Rigging the truck/puller

6. Hide the trailer by clicking on the trailer collection eye icon in the layout panel.
7. 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.
8. In object mode, select the new armature. Click ‘N’ on your keyboard to reveal the properties panel and go down to the ‘Rigacar’ tab.
9. Click on ‘Generate’. Your truck is rigged now.
10. Add an empty and place it under the truck as displayed. Rename it to ‘Couplin’
11. Parent the ‘Couplin’ to the ‘TRUCK-Body’
Rigging the trailer
12. Hide the truck by clicking on the truck collection eye icon in the layout panel.
13. Repeat the same process from step 7 to 9.
Animating your truck and trailer
We are going to start with the trailer then the truck. It is easier that way.
Animating your trailer
14. Add a curve path and model the path you want your trailer to pass.
15. 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’.
16. 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’.
17. Add a plane that you will be using as ground or road. Place it on the same position as the grid.
18. Make the plane slightly uneven using the displacement modifier. Then apply Location transformation by clicking ‘Ctrl then A’ the selecting ‘Location’.
19. Select the trailer armature and go to pose mode.
20. Click ‘N’ to reveal the properties panel
21. On the ‘Rigacar’ tab, select one picker at a time to select your plane/road as shown in the video above.
22. 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.
23. On ‘Rigacar’ tab, change ‘Wheels on Y axis’ value from 0 to 1. Click on ‘Bake wheels rotation’.
Animating the truck
24. In pose mode, select the ‘Root’ bone of the truck. Repeat the same process from step 15 to 16.
25. 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.
26. On frame 1, insert keyframes on the trailer and truck ‘Offset, values by clicking letter ‘I’ on the keyboard.
27. Go to the last frame in the timeline and move your truck’s ‘Offset’ value to 1. Insert another keyframe.
28. 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.
29. Repeat the same process on your truck as step 23. Then click on ‘Bake car steering’. Play your animation and the truck and trailer will move along the path.
30. 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, add it to the comment section below. Happy blending.

About the Author

Evans Gachoki

3D Animator and Visual Effects artist. Blender enthusiast.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×