You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: