manuelVo / foundryvtt-routinglib

A Foundry VTT library that allows other modules perform pathfinding within the scene
MIT License
3 stars 7 forks source link

Not working on bottom or right third of hex grid #8

Closed seanpg71 closed 1 year ago

seanpg71 commented 1 year ago

It doesn't look like I'm able to drag a token down to the bottom third of map when using hexagonal rows. If the token starts down at the bottom, it throws console errors when I try to drag it.

I have the same issue but on the right side of the map if I use hexgonal columns.

It works fine with a square grid.

Pretty sure this is an issue with setting up the gridWidth/gridHeight for GriddedCache objects and that just dividing canvas.dimensions by canvas.grid doesn't work for hexes.