Make the character move along the path of the drawn line

I want to achieve the effect of the character moving along the path drawn by the finger on the 2D UI. I can’t think of a good displacement method at present, and I don’t want to use 3D path finding. Many game advertisements have this kind of gameplay. You draw a circle or even several circles with your finger, and then the character moves from one point to another along this path. Can anyone give me some advice?

1 Like

Isn’t it just a matter of saving the path points and then moving? . . . You can save a point every few frames and set a time yourself.

1 Like