oOve / FollowMe

Follow Me is a module for Foundry VTT that allows tokens to follow or be followed by other tokens.
https://github.com/oOve/FollowMe
4 stars 3 forks source link

"Test for collisions" results in character never following in Foundry v10 #5

Open Almarane opened 2 years ago

Almarane commented 2 years ago

Hello

I tried using Follow Me! in v10, but everytime I had someone follow another character, it resulted in the message "I collided with a wall; stopped following X" even though there is no wall. After some tests, I think I found the problem : having the option "Test for collisions" active seems to prevent anything from following, since the tokens follow each others nicely when this option is inactive.

I tested with a v9 Pathfinder1 world migrated to v10, with a v10 Pathfinder1 world, and with a v10 D&D5 world.

Steps to reproduce :

Expected result : actor A follows actor B

Actual results : message "I collided with a wall; stopped following actor B" appears and actor A doesn't follow actor B

GhostwheelX commented 1 year ago

+1 Also having the same issue.

BladeFireLight commented 1 year ago

also noticed this issue.

thejoester commented 1 year ago

also having this problem and noticed this error in the console

20:34:30.678 Error: Error thrown in hooked function '' for hook 'updateToken'. A valid wall restriction type is required for testCollision. [Detected 1 package: FollowMe] testCollision foundry.js:29863 checkCollision foundry.js:37629

followme.mjs:123 #call foundry.js:724 callAll foundry.js:681 callback foundry.js:12824 documents foundry.js:12804 _handleUpdateEmbeddedDocuments foundry.js:12804 activateSocketListeners foundry.js:12409 emit index.mjs:136 value socket.js:278 value socket.js:265 value socket.js:235 emit index.mjs:136 value manager.js:200 emit index.mjs:136 value index.js:119 value manager.js:192 emit index.mjs:136 value socket.js:323 emit index.mjs:136 value transport.js:104 value transport.js:97 onmessage websocket.js:79 foundry.js:747:30