I created a model to deform with Spine 3.6.52 and loaded it with SpinePlugin.
However, just by flagging the mesh, it was troubled that the vertices of the model became disjointed.
Since I could not find an article on how to cure, I write what I understood.
It seems that there is a problem with json data output by Spine, not a problem of Plugin.
This can be understood by comparing json of heromesh in SpinePlugin with json of hero-pro in Spine’s example
There is a problem with the tag of json data. Edit and fix it.
Spine: JSON export format
This is the official publicly available format
1.Rewrite “mesh” to “skinnedmesh”.
Look at the “skins” using the mesh.
“mesh” or “skinndedmesh”?
Look at “vertices”.
Format when it is just a rectangle = (x, y, x, y …) and “type”: “mesh”
Format when it is a mesh = (borncount, bornindex, x, y, weightbornindex …) and “type”: “skinnedmesh”
However, in most cases “type” is output as “mesh”.
This only supports format (x, y, x, y …). When skin is using mesh.
Open json and rewrite “type” directly from “mesh” to “skinnedmesh”.
2.Change all parts of “animation” written as “deform” to “ffd”.
“ffd” is not written in the official format.
But when you look at SpringPlugin 's heromesh json, the place of “deform” is all written as “ffd”.
I think that these two can be cured in general.
3.hero-pro’s foot is bent 90 degrees
Looking at “bones”, at the end of “foot 1” and “foot 2”
Rewrite the part written as「" transform “:” noRotationOrReflection “」 as follows.
「” InheritRotation “:” false "」
Since I can not find an article that touches on this problem in the first place,
I thought that my way of exporting was wrong.
However, I am fortunate to be of help to those who have the same problem.
The project that tried this problem