Download

Rotate Object With Touch Input

How to Rotate the Character with Touch Input?
I am using SceneCapture2d Camera to render the character on MainMenu UI.
I want the character to rotate with touch (like Pubg)

Hi @WildChildStudios

Since you are using the Scenecaptured2D i dont know if you can click on items and char,
But you can always read the location of the touches.
Basically , you subtract An-Old_saved_location to the new location , use the difference to add a rotation to the actor or component you want, and then save the new location as old.
so next frame will use this as old and the new updated as new.

here a discussion about touch and touches Touch input index and Pressed/Released events - Android Development - Unreal Engine Forums
here the node about touchLocation
Get Input Touch State | Unreal Engine Documentation