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.
The tutorial made the vehicle tilt backwards and forwards during acceleration via the Set Center of Mass on the X axis. Like this
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.
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
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.
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