Matej Fandl

Results 8 comments of Matej Fandl

you are first searching for the path on **gridBackup**, then setting non-walkable cells on **grid**. you need to set the non walkable cells in the first place and search for...

Set the obstacles first and then clone the grid.

then i dont understand. i thought that by setting obstacles you mean adding additional non-walkable cells to the grid

Wait, I think I get it now. Would something like this work if you use the workingGrid in the for loop? ``` var gridWithObstacles = grid.clone(); var workingGrid; fnSetObstacles(gridWithObstacles); for(;;)...

e: as i re-read the question, i think i did not understand what you are looking for. hey @FelixB91, do you know about setting the grid from matrix? ```javascript var...

@FelixB91 Ah so. Sorry I didn't get it before. if you are OK with editing the library, you can update the condition [on line 71 in core/Grid.js](https://github.com/qiao/PathFinding.js/blob/master/src/core/Grid.js#L71) to match your...

the solution proposed by @nicksahler just works - thank you! i am using it like this (not with $refs): `` ``` methods: { manualDispatch () { this.keyboard.input.dispatchEvent(new Event('input', { bubbles:...

multiplyScalar and divideScalar are there in 1.1.0 - not yet mentioned in the [documentation](http://victorjs.org/#documentation)