grandseiken / foundryvtt-multilevel-tokens

Multilevel tokens for Foundry VTT
MIT License
41 stars 20 forks source link

Teleport doesn't capture a token when it moves "through" it #123

Closed ckdragons closed 2 years ago

ckdragons commented 2 years ago

Found when a token moves through a teleporter without stopping on it, the teleport function does not work.

For example, a token is in 5 ft wide hallway, there is a teleporter 15 ft away. If the token is moved 20 ft in a single drag, the teleporter does not capture the token to move it to the new location as the token is moved.

The behavior I'd expect is the token is captured if it passes over the square, regardless of whether it stops on that square.

grandseiken commented 2 years ago

Yep, the module only notices where tokens actually move to, it doesn't calculate mouse-drag trajectories and trigger based on that. Same applies for macros, etc.

grandseiken commented 2 years ago

Dupe of https://github.com/grandseiken/foundryvtt-multilevel-tokens/issues/42