I have path finding on to allow for the player to avoid obstacles. But when the character was near the target location he would stop, and or sometimes overshoot.
I added in a set X and Y line to make him center on the square, the problem is it still looks like he teleports. Even more so if pathfinder overshoots. Can someone adjust this and make it more seamless?
https://www.dropbox.com/s/qnnpyigtwihop ... .capx?dl=0
Also note I've been looking into adding a custom movement when the player is in a certain range as an option, so far I've not been able to make this work without error. With this idea I was thinking if player is within 30 pixels of target shut off pathfinding, and move towards target until player's location = X and Y.
Thanks!