manuelVo / foundryvtt-routinglib

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

Pathfinding doesn't pathfind around walls with heights as player #2

Closed Zamrod closed 2 years ago

Zamrod commented 2 years ago

With Wall Height, If your token is at a greater height than a wall, pathfinding tells you that you can't move through it when you should be able to.

This is also true for being below the wall.

manuelVo commented 2 years ago

Do you have only the wall height module installed or the levels module as well?

Zamrod commented 2 years ago

I tried it with just drag Ruler.

On Thu., Oct. 13, 2022, 9:10 a.m. Manuel Vögele, @.***> wrote:

Do you have only the wall height module installed or the levels module as well?

— Reply to this email directly, view it on GitHub https://github.com/manuelVo/foundryvtt-routinglib/issues/2#issuecomment-1277678580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC75BGOTNGSYDZ7TTBJRSMTWDAJ4TANCNFSM6AAAAAAREJVWQ4 . You are receiving this because you authored the thread.Message ID: @.***>

manuelVo commented 2 years ago

I'm understanding that as you having Drag Ruler and Wall Height installed, but not Levels, correct?

Zamrod commented 2 years ago

Correct.

On Fri, Oct 14, 2022 at 2:10 AM Manuel Vögele @.***> wrote:

I'm understanding that as you having Drag Ruler and Wall Height installed, but not Levels, correct?

— Reply to this email directly, view it on GitHub https://github.com/manuelVo/foundryvtt-routinglib/issues/2#issuecomment-1278581263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC75BGMI6FCCBTCAHAH5VPLWDEBOZANCNFSM6AAAAAAREJVWQ4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Chris Wachal

Zamrod commented 2 years ago

Testing this again, I am able to move through walls that I'm an above or below. Not sure why it works now. Though if a wall exists with a height that you can't move through between you and your destination, it will not route around it. It will instead act as if pathfinding isn't enabled and say there's a wall in your way.

manuelVo commented 2 years ago

On gridded scenes, routing with Wall Height currently only works if the levels module is installed too. This sacrifice was made to get the module out earlier to allow Drag Ruler v10 to release. This limitation will be addressed in a future release.

manuelVo commented 2 years ago

This should be fixed with dfa6a9316