-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, using Phaser Plugin.
Tried to update the grid via:
pathfinder.setGrid( mapLayerData, walkables );
path retuned is null.
- pathfinder (easystar plugin loaded)
- mapLayerData -> The grid data,
- walkables -> walkable tiles.
initialization works fine, but when I add / remove tiles I want to update the grid,
so I call again:
pathfinder.setGrid( mapLayerData, walkables );
Since then the returned path is always null:
pathfinder.setCallbackFunction(function(path) {... console.log(path); //returns null }
best regards,
sam
Metadata
Metadata
Assignees
Labels
No labels