Merge pull request #1893 from thecodingmachine/fix-path-finding-diagonals
disable corner cutting
This commit is contained in:
commit
5b05589d32
@ -18,6 +18,7 @@ export class PathfindingManager {
|
||||
|
||||
this.easyStar = new EasyStar.js();
|
||||
this.easyStar.enableDiagonals();
|
||||
this.easyStar.disableCornerCutting();
|
||||
|
||||
this.grid = collisionsGrid;
|
||||
this.tileDimensions = tileDimensions;
|
||||
|
Loading…
Reference in New Issue
Block a user