I have some code like this:
attachment.y = 50;
attachment.updateOffset(attachment);
When the call to updateOffset() is made, the y position will update as expected, but the x position also changes for the attachment with end result of misaligning the attachment leftward of where it should be. If I don’t call updateOffset() the attachment is aligned as expected on x.
The code has this problem for just one of my skeletons, with all other skeletons working fine. Two differences for the problem skeleton are 1. the attachment is parented to a bone instead of directly to root. 2. Skeleton Jsons are exported from the latest 3.7 beta as of last night whereas all the other skews are exported from an older 3.7 version. (Can look up exact versions when I get home.)
I am using the latest webgl runtime from the 3.7 branch on github.
Will dig into this deeper and try to narrow it down, but maybe there is something easy to fix that I’m doing wrong.