# Blueprint vehicle movement tilt help

**URL:** <https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [August 5, 2024, 7:53am UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518 "2024-08-05T07:53:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asim7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asim7](https://forums.unrealengine.com/u/Asim7)\
**Post date:** [August 5, 2024, 7:53am UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/1 "2024-08-05T07:53:44Z")

</div>

I am not that experienced in programming or blueprints, I know just very basic stuff.  
I was following a tutorial for a vehicle, but I wanted to do some extra stuff. Like making the vehicle tilt on the side as it turns. Like in this image, the vehicle tilts on the Y axis not just turning.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/9/4d9eea0ef96b5651cfab91e86a322f424e533714.png)

The tutorial made the vehicle tilt backwards and forwards during acceleration via the Set Center of Mass on the X axis. Like this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/0/790c35f3a5b07fa5299c46f8303c1ac4d902fd99.png)

Based on acceleration (W & S on WASD controls) the center of mass changes on X axis by 50.

Now I want to do based on steering (A & D keys) the center of mass changes on Y axis (left and right)  
I did it like this.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/3/be38c4f386a3df871af64868833060fb2c6b7907.png)

The tutorial used add torque to make the vehicle turn on the Z axis left and right, i’m then adding the center of mass shift sideways. However! It is only doing it on 1 side, if I turn left mass goes left, if I turn right the mass still goes left ☹

I tried connecting the forward / backward enhanced input to a print string, W returns 1 and S returns -1. So it works, same with A and D so they are registred as negate / opposite actions. I don’t get why it only tilts to the left then yet I can turn left and right.

Any ideas or help with this?

Here is the vehicle

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/7/f77dc195f9ec9cbcc0164b4d30e465156bce10c8.jpeg)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [August 5, 2024, 8:28am UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/2 "2024-08-05T08:28:58Z")

</div>

![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/e/62e81121fd2d6f540c9b2946ee7e5d555e5ac1e3.png)  
Though 20 is a rather low value, boosting it will increase the tilt

---

<div class="post-metadata">

**Author:** ![Asim7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asim7](https://forums.unrealengine.com/u/Asim7)\
**Post date:** [August 5, 2024, 9:19pm UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/3 "2024-08-05T21:19:08Z")

</div>

Thanks, I tried your solution but it did not work.

I am not using the Chaos Vehicle Pawn or system, it’s made from scratch from a tutorial for a hover car. So I keep getting errors about the Chaos Vehicle System in the nodes.

It also keeps only working on one side, no matter what I do.

Attaching a simple print string into the action input etc gives me a 1 and -1, so the 2 directions do work and I can turn just fine. I got the tilt to work in a few ways but always only 1 side or it disables the tilt I have forward and backwards when the vehicle accelerates.

Is there no way to just have this also tilt in a easy way, i’m too much of a noob to figure it out xD

Here is the simple steer / rotate left and right

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/5/a35e70a6bbdd27dbbe3b724ec5cd94c9490ca80d.png)

This makes it tilt forward / backwards when driving / reversing from acceleration

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/6/7c6a6ebcd3432f434caef1e55c593db30cddd965.png)

Is there a way I can just make a simple thing like that but sideways?

Thanks for any help provided, I appreciate this as I try to learn 🙂

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [August 5, 2024, 9:29pm UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/4 "2024-08-05T21:29:32Z")

</div>

My solution works

[![]( " - YouTube") ](https://www.youtube.com/watch?v=5uI32N9RT0c)

You just have to adjust the suspension for the sports car. It is too stiff to see the springs compress.

---

<div class="post-metadata">

**Author:** ![Asim7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asim7](https://forums.unrealengine.com/u/Asim7)\
**Post date:** [August 6, 2024, 8:29am UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/5 "2024-08-06T08:29:49Z")

</div>

Thank you so much for the video 🙂

But the Set Steering Input says target is a Chaos Vehicle Movement Component

I am not using any of the starter content or the UE5 provided cars, so it gives me an error. I also don’t know how to get the Vehicle Movement Component?

this is the car i’m using from a tutorial, I want it to be a simple car that I make from the ground up instead of relying on the provided UE5. So that I know how it’s made and the UE5 one has a ton of features and nodes I don’t need and confuses me, very complicated.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/2/ac2ac0973f80c738e4dc61ae2da5c5bb42a5d6f5.jpeg)

I’m guessing the Set Steering Input is what makes the car turn and then you apply the center of mass for tilting. But I don’t think I can use the steering input node with my vehicle ☹

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [August 6, 2024, 8:35am UTC](https://forums.unrealengine.com/t/blueprint-vehicle-movement-tilt-help/1962518/6 "2024-08-06T08:35:56Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/f/31f8730a0477890b8fe809d78f217f2c7b77c3c3.jpeg "Space Dust Racing UE4 Arcade Vehicle Physics Tour") ](https://www.youtube.com/watch?v=LG1CtlFRmpU)

This has some good info on physics based cars.

The vehicle movement component it build into the engine you just have to enable the chaos vehicle plugin.
