Closed Orbdamu closed 1 year ago
Last time I checked it worked. Have you had a look at baileywikis stuff to see how to set it up correctly?
I checked with the baileywiki discord, and it seemingly works on the initial placement, but any modification of the control tokens height after the initial placement is not applied to tiles.
I just realized this is about 3d canvas and not about levels right?
It kinda is for my use case, but 3d canvas uses levels height (bottom) variable for tiles and has a dependency towards levels, Therefore I think fixing the issue for levels solves it in 3d canvas.
I checked today if levels works and it does
Did you check for modifying the control tokens height after the initial placement? I am on the current version of token attacher 4.5.7 and the current version of levels 3.2.7, and for me the behavior is as follows: On initial placement, the tile height is correctly placed in relation to the control tokens height. If you change the control tokens height afterwards, any attached tiles remain on their placement height, while everything else that is attached and not a tile moves correctly in height wrt the control token. I tested this both in 3d canvas as well as in levels with 2d maps.
can you make a video?
can you try setting top to something different than infinity and try again?
now I am really confused. If I attach a tile to a new control token, it seems to work. If I use a control token that was created in a previous version, it won't work until I once detach the contents and reattach them and then assign the updated token as the prototype control token.
So the prefab was just broken then?
I rather think any prefab that was created in an old version has that issue (atleast I tested a bunch of baileywiki prefabs and some own prefabs and they all acted that way). But I don't know if that is a fixable issue or the prefabs just need to be reattached
You can right click and export the actor and upload it here and I'll take a look if I see the cause. If it's just one or a few prefabs you should contact baileywiki so they can fix them for their next releases.
While other things such as attached light switch height together with a token, tiles do not. that makes prefabs difficult to use in multilevel environments at different heights. Additionally, I wanted to start making 3d prefabs for 3d canvas, which is also just possible when token attacher behaves correctly in all 3 dimensions. I think in this case, other things might also need changing to allow for correct scaling of prefabs in 3 dimensions, but I'm not 100% sure about that.