KayelGee / token-attacher

MIT License
11 stars 18 forks source link

Issue: In 3D Canvas, tiles do not move vertically along with the actor they are attached to #94

Closed JSwift777 closed 1 year ago

JSwift777 commented 1 year ago

Issue description: Upon either spawning a pre-existing prefab or creating a new one with token attacher, tiles will follow their linked actor horizontally but will only sometimes follow it vertically.

Steps to reproduce: For this test a blank new scene is created, 3D mode is enabled, a new actor is created and placed in the scene and then a selection of tiles are placed nearby (the token's icon has been changed to a wall with a gear to be more visible):

image

The Token Attacher UI is then opened, the Select tool is enabled and then the tiles are selected in tile mode. 'Attach Selected Elements' is pressed and then the token attacher UI is closed.

image

The token can now be moved around horizontally, copied and pasted, prototyped and then subsequently spawned in any scene, however if it is moved above or below altitude zero (move tokens vertically by clicking and holding on the token and then scrolling the mousewheel) the tiles do not follow.

image

Muddying the waters somewhat, a prefab house like this one from the baileywiki module partially moves - having looked at the tiles involved, all the ones that do move have the "Block Sight" and "Block Movement" flags enabled, and all the ones that do not move have them disabled - however, the test tiles above also have "Block Sight" and "Block Movement" flags enabled so it seems like they are not directly the cause. I'm not even slightly a codemancer, so I'm not quite sure beyond that.

image

If it's at all relevant, Lights do follow vertically as expected (the actual light fixtures just get left behind on the ground). Many thanks for your help with this.

KayelGee commented 1 year ago

Should be fixed