Hi,
For a game, I'm using the Touch object to move a character. I want its movement to match the finger's direction dragged across the screen.
The two solutions I've tested so far are:
1)'Move At Angle' action with Touch.SpeedAt() * dt and Touch.AngleAt()
2) Bullet behavior with angle of motion set to Touch.AngleAt and speed at Touch.SpeedAt
Both solutions work, but the movement is often stuttery and doesn't exactly match the finger's drag: Sometimes it flies farther than I wanted it to, sometimes the movement has pauses on frames, etc. I thought it might be a performance issue, but the game is running fine at 60fps - no interruptions across any platforms I've tested on.
Is there something I'm doing wrong? Or a different method I can use?