I'm playing with the Pathfinding Behavior. I'm planning on using it for a point & click kind of game.
Found paths are all valid. The problem is when the sprite "Move along path". It doesn't move exactly on or near the path. It follows an approximated path based on the pathfinder results.
Problem: The approximation goes over obstacles.
Question: Is there a way to adjust the path approximation to follow more closely the pathfinder generated path?
.c3p used: pointNclick.c3p
Images to illustrate this:
Red square = obstacle cell
Green square = unobstructed cell
Grey rectangle = player
Small Red point = pivot of the player
Black line = pathfinder generated path
Purple line = Path followed by the player
Thanks you for your help.
- EDIT: Added an example project -