I'm getting TypeError: undefined is not an object (evaluating 'this.gridNodes[position.y][position.x].getIsWalkable') when I try to call aStarInstance.findPath(...). Looking at that error, it looks like the grid in configuration is reversed - shouldn't x be the first dimension of the array, and y the second dimension?
It's causing some weird behavior in my app and am wondering if this is intentional.
I'm getting
TypeError: undefined is not an object (evaluating 'this.gridNodes[position.y][position.x].getIsWalkable')
when I try to callaStarInstance.findPath(...)
. Looking at that error, it looks like the grid in configuration is reversed - shouldn'tx
be the first dimension of the array, andy
the second dimension?It's causing some weird behavior in my app and am wondering if this is intentional.