# How can I ramp the roll of my mesh based on input axis

**URL:** <https://forums.unrealengine.com/t/how-can-i-ramp-the-roll-of-my-mesh-based-on-input-axis/468846>\
**Category:** Asset Creation\
**Tags:** axis, roll, unreal-engine, question\
**Created:** [July 29, 2020, 9:52am UTC](https://forums.unrealengine.com/t/how-can-i-ramp-the-roll-of-my-mesh-based-on-input-axis/468846 "2020-07-29T09:52:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mixstah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mixstah](https://forums.unrealengine.com/u/Mixstah)\
**Post date:** [July 29, 2020, 9:52am UTC](https://forums.unrealengine.com/t/how-can-i-ramp-the-roll-of-my-mesh-based-on-input-axis/468846/1 "2020-07-29T09:52:20Z")

</div>

Hi all I have created a flying scene.

I want my ship to roll slightly when the axis gos left to right.

Currently, I am taking the Yaw Axis and Multiplying it by 45 and setting the relevant rotation of the ship mesh and not the spring arm. It works fine but I want the ship to roll slowly, like ramp. Currently if I flick the joystick the ship flicks as it would.

My current solutions I am trying are to starting the multiplier at 0 then increasing it by an amount whilst it is less than 45. This works OK and if I keep going will probably work.

Is there an easier way is my question really, or is going to be a complex algorithm like I am producing?

Thanks in advance.
