I’m having the same issue as shown to the Witcher character in this post:
However, the resolution of checking the rotation box does not solve my issue (they are already checked). Using the Hero example that comes with Spine, it looks and animates fine in the Spine Editor, but when imported into Defold, the feet are pointing downwards.
I tried importing the same exported data and images into GameMaker Studio 2, just to double check that it wasn’t an issue with the export, and it worked fine in there as well. This leads me to believe that it may be a bug in Defold. I was using the latest version of Spine (3.7.94) to export the JSON.
Any assistance with this will be greatly appreciated!
Defold supports Spine 2.x functionality so there is no guarantee that the model will work properly if it uses newer features. This is mentioned in the Spine manual. I think you can set a version when exporting. @sven?
Looks like I can specify the version in the settings. As a new user, wanting to use both Defold and Spine, this makes the learning process extremely difficult, as the example projects will not work on that runtime.
It’s just the feet that are breaking… are you sure you guys can’t take a look?
This reply might come across as a little snarky, but there is NO snark intended.
I did, that’s why in my original post I referenced that exact forum post, commented that the solution to it did not work for me and included a screen shot showing Rotation on the foot joint checked, next to the screen shot of it as seen in Defold with still downward pointing feet.
No worries, I’ll try and figure it out without this feature. So just to double check, I should ensure that Inherit Rotation on bones is checked on all bones, and then figure out some way to lock the foot bones in their current orientation?
I thought of a workaround, I think… You should be able to make the foot have it’s own IK constraint as well, then in runtime make sure the IK target is always below the foot/on the ground. Haven’t tested it myself, but in theory it should work, albeit a bit of a hassle.