# How to perform smooth, inertial rotation on mobile devices?

**URL:** <https://forums.unrealengine.com/t/how-to-perform-smooth-inertial-rotation-on-mobile-devices/2691251>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 11, 2026, 3:44am UTC](https://forums.unrealengine.com/t/how-to-perform-smooth-inertial-rotation-on-mobile-devices/2691251 "2026-01-11T03:44:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyb201](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyb201/32/956468_2.png) [@cyb201](https://forums.unrealengine.com/u/cyb201)\
**Post date:** [January 11, 2026, 3:44am UTC](https://forums.unrealengine.com/t/how-to-perform-smooth-inertial-rotation-on-mobile-devices/2691251/1 "2026-01-11T03:44:47Z")

</div>

Hello everyone. I’m implementing a search system similar to those in most games, where users browse objects by swiping and rotating them on a mobile screen. However, I also need to achieve precise control over the object’s rotation when the user swipes slowly, and a rapid swipe that causes the object to rotate so quickly that it continues rotating a short distance even after the user stops swiping (like inertia). Furthermore, I need the object to land at a few fixed angles after stopping, which is very difficult to achieve. If my description is confusing, you can refer to the “No Boring Weather” app on iOS; I’m trying to replicate its operation. Currently, I’ve implemented rotation based on swipes and a small amount of inertia, but the results are poor. Does anyone have suggestions for a better implementation? Thanks in advance. Below is a partial implementation of mine.1.Receive the move event and location of the touch input to set the relative rotation of the corresponding object.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/6/a2697996a750eaa4bd366487046f1ba44481e258.png)2.Then accept the released event of the touch input and add timeline control inertia.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/e/1de3423c74769733c62bfedde41cb5dd9fa464a4.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/5/fa5ab57fbd9cbbf3dc68bc7b09a93e89430f32e8.png)3.I need a possible implementation of rotation to a specified angle, but I require it to rotate to the nearest integer multiple of 72.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/a/6eadc9a6adf1d6a82e02f954dbbbcdc998b1d492.png)
