unlock diagonal movement
This commit is contained in:
@@ -17,7 +17,7 @@ export class PathfindingManager {
|
|||||||
this.scene = scene;
|
this.scene = scene;
|
||||||
|
|
||||||
this.easyStar = new EasyStar.js();
|
this.easyStar = new EasyStar.js();
|
||||||
// this.easyStar.enableDiagonals();
|
this.easyStar.enableDiagonals();
|
||||||
|
|
||||||
this.grid = collisionsGrid;
|
this.grid = collisionsGrid;
|
||||||
this.tileDimensions = tileDimensions;
|
this.tileDimensions = tileDimensions;
|
||||||
|
|||||||
Reference in New Issue
Block a user