How to make ship tilt with left and right movement?

So I figured out how to get movement for a ship with WASD style, but I can’t seem to figure out how to make the ship tilt a bit while moving to the left and to the right. So for example if the player pushes D as the ship moves to the right it will also start to tilt along with it. Thank you in advance for the help :).

Hello world?

Add Rotation Input might work

How do I go about doing that?

Here is an update of my movement for my ship. Still only WASD movement but no it is a bit more simplified. Still trying to figure out to get it to tilt as you move to the right and left.

Here is an example of doing it turning left and right.

You would do this for roll instead of Yaw

Cool I will try this now :slight_smile: thank you. I’ll let you know how it works out.

So I went and applied it and still nothing I have the image attached below.

I’m not sure about this, but try setting an interp speed greater than zero. And for the target of your set actor rotation, use your movement character as the input.

Ok so I tried to apply what you suggested and it appears to be tilting the ship to the left and right when I move to the left and right but it also seems like the camera is tilting with it. How would I fix the camera tilting along with the ship? Below I have the jpg of my blueprint. Thank you so much for all the help guys :slight_smile:

When looked at closer I can’t tell if the camera is also tilting, if the mesh I have under the ship is tilting, or even if the ship is tilting at all. If that makes any sense . When I do press play thought the screen shakes. Hopefully I gave a better clarification on whats going on.

Thank you so much everyone that has helped me with this! :smiley: So attached is the blueprint for it and to solve the shakeyness of the camera you have to go to your SpringArm and in the Transform options click on rotation and set it to World instead of Relative and it works perfect now :D. Again thank you all and I hope this helps others in the future as well :). If anyone has any questions about it don’t be afraid to message me and I will do my best to help you out.

Again thank you all so much!