• EditorBugs
  • Exporting animation with Physics constraint's keyframes breaks the contraint

Problem statement

I was exporting a video of an animation containing physics contraints and I noticed the physics looked off compared to what I had in the editor. So I tried a few things with a sample project and the problem seems real.

So, using the celestial-circus-pro project, this is the video export of the swing animation alone as it comes out of the box:

I then tried to set all the physics contraints to Mix 0 in Setup, and then reapplied the 100 Mix at the beginning of the animation, which in theory should have given the same exact result. This is the export:

Editor information

4.2.36

    Related Discussions
    ...

    Fabiano Thank you so much for reporting this problem, I was able to reproduce it. It seems to work fine if the mix value in the setup pose is non-zero (e.g. 0.001), but if it is set to 0, it seems to stop working even if the mix value is changed during the animation.

    I have created an issue ticket to fix this: EsotericSoftware/spine-editor836
    This problem was also reproducible in Spine 4.2.00, so this seems to be a bug that has been overlooked for a long time. Thank you for bringing this important issue to our attention.