Nate Sorry for the confusion. I'm not familiar with these proper terms. Now I will describe in detail what I tried and encountered.
These four pictures should be able to correspond to the problems corresponding to the bounding box. In most cases, SP_ATTACHMENT_MESH can always obtain relatively accurate four extremities, while SP_ATTACHMENT_REGION does not show reference value in practice.
Nate "image attachments"
It means that I hope to calculate the not completely transparent parts as bounding boxes, but actually I have no clue because neither SP_ATTACHMENT_MESH nor SP_ATTACHMENT_REGION is difficult to statistically analyze.
Because as shown in the figure, even the box containing the content of the picture is not necessarily attached to the image.
If the runtime of spine cannot achieve this, I might consider first obtaining the maximum boundaries obtained from SP_ATTACHMENT_REGION and SP_ATTACHMENT_MESH to obtain the PNG, and then processing the PNG in other ways to make it finally centered.
Also, regarding the animation, you can see that the animation I hope to use is "Default". It is worth noting that this animation actually has only one frame and is theoretically an animation for preview. So my setting like this is of no use.
Nate using a time step like 16ms
drawable->state->tracks[0]->trackTime = 16;
As mentioned earlier, SP_ATTACHMENT_MESH is more meaningful for my border statistics. In fact, it is only reflected in SP_ATTACHMENT_MESH.
It's only partially missing, so that I can't accurately identify the cause.It has only one frame, so I feel at a loss here.
Nate causing physics
The invisible check is most likely ineffective. It's just a final struggle.
I had a problem importing the file into spine (it was probably my own problem), so I only configured skeletonViewer and runtime.
I hope this is enough information and thank you for your help.