#Path2D question

5 messages · Page 1 of 1 (latest)

deft sky
#

How can I know how much "progress" (a property of PathFollow2D) I need to increase \ decrease in order to get to a certain position? for example I want to move between points when the player clicks one of the levels (like in the pic)

frail mason
#

If you are going to gradually move the player to the point the player clicked then I would reverse the problem: I would move the character along the path and stop them until they enter the area you wanted.

#

You will just have to tune the collision shapes so that the player stops in the appropriate position.

#

And it sounds like it would make for nice little videos on the Q&A channel, I'm taking note of this.

deft sky
#

thats what i ended up doing, yeah