• Bugs
  • Problem when exporting transform constraint to json for GMS

Good afternoon! Faced such a problem. I use the "transform constraint" function. I increase the dependence of the "translate" parameter. In Spain, everything looks right. Exporting to json for GameMaker, with a runtime version that supports Spine 4.0. As a result, I get the inheritance of coordinates only along the X axis. The bone, which should inherit the coordinates of the target bone, moves only horizontally. At the same time, entries are visible in the json that are associated with the inheritance of X coordinates, but there are no entries about the inheritance of Y coordinates.

Related Discussions
...

Hello, could it be that you recently updated your files from an older version of Spine, and they were not made in v4.0?
If so, could you check that the mix for the given constraint is set both for the x and y axis and not just the x one?
Are you exporting from Spine v4.0 and in v4.0 everything looks as it should?

Thanks for the quick response! I did this in a project created in version 4.0. I tried to separate into separate coordinates, updated the keys. Any action does not give a result. Everything looks right in Spine.


Worked in Spine 4.0, exported to version 4.0

Ok, next question to find where the problem is originating:
If you open your exported files in skeleton viewer do they look correct or do they show the same problem?
Skeleton Viewer

If they look correct, this is a GM bug and should be posted on their forums.
If they look incorrect, something is wrong in the export and should be investigated more.

You're right. The problem was in the GM. Thanks for the feedback!