- Home /
Question by
robinanttal · Jun 01, 2018 at 12:28 PM ·
move an objectswipetouchphasesmoothfollow
Moving player smoothly along the x axis with the swipe on any position on touch screen
I am having a sphere as a player and want it to move along x axis smoothly with the swipe on touch screen irrespective of the position of but follow the direction and speed of the swipe and don't show the jerk or shaking behavior.
I had tried the lerp and translate along with OnMouseDrag function but nothing works smoothly
Comment
Your answer
Follow this Question
Related Questions
When iOS framerate lags, are TouchPhase.Begans getting lost? 1 Answer
How to get intermediate swipe positions? 1 Answer
Make Object smoothly follow player if out of near range 1 Answer
TouchPhase doesn't end when player swipes off screen 1 Answer
Swipe horizontally and hold finger down to move character? 1 Answer