manuelVo / foundryvtt-routinglib

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

[Feature Request] maximum drag distance #5

Closed manuel-hegner closed 2 years ago

manuel-hegner commented 2 years ago

A feature idea: configuring a maximum drag distance (e.g. 200ft)

This could alleviate some of the weird pathfinding when on drags a token through a wall and the token suddenly wants go through the whole map.

manuelVo commented 2 years ago

This feature is already present in routinglib. Modules can pass the maxDistance option into routinglib to specify a maximum distance that's allowed for the calculated path.

manuelVo commented 2 years ago

If you'd like to request that Drag Ruler makes use of this option, please request that in the Drag Ruler repository.