Problem Description
When the diagonals are enabled, there is a bug with some area configurations where you can't get out though you can get inside.
Attach a Capx
https://www.dropbox.com/s/qmtgtkr42mmmlbu/PathfindingBug.capx?dl=0
Description of Capx
A player with Pathfinding behavior, any click to find path and move. A tilemap declared as a custom obstacle for the Pathfinder. Blue dots are created to display the path nodes. Hit "space" to display the obstacle map.
Steps to Reproduce Bug
- Click inide the area in the middle right for the player to get in. See that it's possible.
- Once you're there, click outside to try to get out, and see that you cannot.
Observed Result
The pathfinder can't find path in some situations and put path node right on top of declared obstacle.
Expected Result
You should not be able to get inside the area. And the pathfinder should not be able to put path node on declared obstacle.
Affected Browsers
- Chrome: (YES)
- NodeWebkit: (YES)
Operating System and Service Pack
Windows 7 64bit SP1
Construct 2 Version ID
Realease beta 226