Rotate the object with the touch
How to rotate an object by touching the left and right direction?
UE 4.8.0 Android
Rotating like:Traffic Racer
asked Sep 11 '15 at 12:14 PM in Using UE4
answered Sep 12 '15 at 02:52 PM
Do you want a constant rotation or just as long as the right arrow is held down rotate?
I would try a while loop. While the button is down set boolean to yes which activates a true for a branch. From there do some sort of get rotation and add .5 rotation degrees (this would be the speed I believe). Once the finger is lifted the branch turns false and thus stops rotating. I'm not at my UE4 laptop so I cant be super specific, but that is the general logic I would use.
Let me know if that works.
answered Oct 22 '15 at 09:55 PM
Hi! It seems I've gotten an answer. sorry for the really late response, I've only come across this question now, while I was facing the same problem (Although it may not be useful to you by now, hopefully to some other people it'll come across useful!).
So what basically happens between each tick is that it calculates the amount the touch input's moved from the previous tick and added it into the rotation. Hope it helps!
answered Oct 08 '17 at 02:34 PM
maybe these can help you
answered Aug 26 '18 at 03:10 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here