Rig and Drive your first Chaos Vehicle - Unreal Engine 4 Tutorial

preview_player
Показать описание
UPDATE 15 Sep 2021: !!! IMPORTANT !!! If your car is stuck in the air and doesn't drive, make sure you are using the special 4.26-chaos/4.27-chaos/UE5 EA versions, all available from the Epic Launcher and NOT the "regular" 4.26/4.27 versions which still uses PhysX and not Chaos Physics. Chaos Vehicles need Chaos Physics and will NOT work with the regular 4.26/4.27 version despite the fact that the plugin is enabled and that you get no errors whatsoever.

Unreal Engine 4.26 includes, among the many other features, the first release of the new Chaos Vehicles. In this step-by-step tutorial I will show you how to prepare, import and configure a car to turn it into a Chaos Vehicle you can drive around in your game.

This tutorial is based on UE 4.26 Preview 1, so things may look a bit different in the official release.

Donate (thank you!):

Outline
00:00 Start
00:10 Intro
00:29 Rigging in Blender
01:23 Exporting from Blender
02:34 Project creation in Unreal Engine 4
03:18 Enabling the Chaos Vehicles plugin
04:00 Importing the car
04:55 Setting up the physics asset
07:48 Creating the Animation Blueprint
09:30 Creating the Vehicle Blueprint
12:09 Creating the Wheel Blueprints
14:21 Configuring the Vehicle Movement Component
15:15 Drawing the engine torque curve
17:40 Defining and connecting the input events
20:53 Setting the map
22:09 Testing our car
22:25 Enabling physics simulation
22:53 First drive!
23:20 Adding mouse control to the Spring Arm
24:45 Let's drive again
25:05 A problem with the wheel turning direction and how to fix
26:25 Tweaking the longitudinal tire friction and the suspension stiffness
27:20 Disabling Motion Blur

#ue4 #chaosvehicles #tutorial
Рекомендации по теме
Комментарии
Автор

Great tutorial, thank you!
For people rigging the car in Maya and not blender:

1. Before creating joints, change Maya preferences > settings > Up axis Z. Rotate the car back to normal and zero out transforms.
2. When exporting the .fbx, in the export window, go to advanced settings > axis conversion and set it as Z.
3. When importing into Unreal, uncheck the Convert Scene box.

jackj
Автор

Can confirm that this tutorial works for UE5 EA. Engine Curve does not have to be saved in UE5.

midnattsol
Автор

It is impossible NOT to learn with your videos, simple and concrete explanations makes the learning process so much easier and fun! Thank you for sharing your knowledge with us 🙂 always learning

joaopereira
Автор

That's actually a Dodge Challenger, but I really enjoyed the tutorial thank you!

aveoxus
Автор

He... really lovely to see someone cover this topic.

novaria
Автор

Great tutorial. I had one issue with my vehicle. When I added two different types of wheels for front and rear axle, the vehicle would just stop simulating physics when it touches ground. It only worked when I set all wheels to be the same class. The solution was very simple. If you have this problem you just need to remove your car from a scene, and put a new one. I guess some variables are cached, or something, and you need to "update" it by replacing it with a new car.

primm
Автор

I didn't even know they were adding vehicle code with Chaos, I'm currently working on a custom implementation of PhysX vehicles. But this was very interesting and helpful nonetheless. Thanks for adding the timestamps/sections as well!

theRPGmaster
Автор

So what is the main benefit of these new Chaos vehicle?

Thanks for the tutorial by the way. Quick, clean and to the point. Hope for more in the future :)

Tiger
Автор

Thanks for making such a great tutorial for us.

weirddboyy
Автор

Sir you are great guru for us 👍👌
I don't have words to express my gratitude for your work and sharing this knowledge with us.
❤️🙏🏽❤️ Namaste.

dhananjaykupekar
Автор

Thanks for sharing, Marco! The default values is already better than NFS physics :D

iajhy
Автор

I don't get why none of these tutorials seem to work for me (Unreal 4.27). I'm doing exactly the same thing! With this one, my car doesn't even drive. I don't get it, this shouldn't give that much troubles. I get it running in Godot, but not in Unreal.

eyeemotion
Автор

Hey sorry haven't gotten to watching your video yet, but I will. I haven't forgotten about you, I'm just really busy right now :/

UnrealEngineTutorials
Автор

you can control the motion blur with a post process volume and adjust the amount of blur etc.

eatmykwad
Автор

when i press play, the car stays put, and the suspension doesn't work, and the car doesn't even fall because of gravity. why is this happening? gravity and collision and everything is enabled

defonotme
Автор

i am already a coordinates genius, but i think this will help many other new users. :D

unrealengineenhanced
Автор

My vehicle doesn't simulate physics, even after enabling it on the mesh... please help

davidduhn
Автор

Am I the only one that can't configure the physics body so that the car can actually stop colliding with the world? I've tried at least 8 tutorials and all of them do the same thing. I've tried 3 different riggs and none work. I've modified the rig I created and re-exported it at least 20 times and it did move at some point, but somethings up with the physics body that I can't figure out. Anyone got any ideas why this is happening? It's either the car is floating or the wheels are going through the floor

alexrusu
Автор

hi Marco, Can show how the vehicle reacts when it collides with another vehicle, does it collide and move the other vehicle natural or does it just impact and stop dead on its tracks?

insanestudios
Автор

Hey Marco, this video answers some of the questions I sent you....=-)

riobaldo