• 中文
  • unity中以skeleton mecanim的形式使用spine素材时 无法实现正确的倒放

Related Discussions
...

我将 一个自动门的 skeletonDate 拖到场景中 以skeleton mecanim形式使用,在代码中更改 animator 的播放速度到-1用来实现动画的倒放,但是貌似 spine的动画素材会在这种情况下错误地播放(有时是没有勾选loop的 clip 会不受控制地 一直循环,在clip中中间某个位置倒放时会错误地跳转到动画的开端或者末尾)。在unity内制作的动画clip是可以用这个方式正常倒放的。
请问是我倒放spine 动画素材的方法不对吗?
我的unity版本是2018.4.30 spine支持库版本是3.8

感谢您的报告,并为给您带来的麻烦感到抱歉。 我们刚刚修复了非循环反向动画在 4.1 分支上错误地播放循环的错误。 一个新的 4.1 spin-unity unitypackage 可供下载。

由于很遗憾我们将不再发布 3.8 分支的错误修复,因此您需要自己集成 提交 的更改 到您的本地安装。
此问题已在此问题单下跟踪:
https://github.com/EsotericSoftware/spine-runtimes/issues/2165

您是否观察到使用“SkeletonMecanim”进行反向播放的其他问题? 不幸的是,机器翻译无法明确翻译所有内容,因此如果您能描述任何剩余的问题,我们也很乐意解决它们。


Thanks for reporting and sorry for the troubles. We have just fixed a bug of non-looping reverse animations incorrectly still playing back looping on the 4.1 branch. A new 4.1 spine-unity unitypackage is available for download.

Since we will unfortunately not release bugfixes for the 3.8 branch any more, you will need to integrate the changes of this commit yourself to your local installation.
This issue has been tracked under this issue ticket:
https://github.com/EsotericSoftware/spine-runtimes/issues/2165

Did you observe other issues with reverse playback using SkeletonMecanim? Unfortunately machine translation failed to translate everything unambiguously, so if you could describe any remaining problems we would be happy to fix them as well.

8일 후

thank you for your reply! I was wondering if there was a way that I can update my spine runtimes without reprocess my old spine assets ?my current runtimes version is 3.8,looks like I'm gonna need to update it to 4.1. Reprocess all old Spine Assets will be a diffcult task.

truncoat wrote

I was wondering if there was a way that I can update my spine runtimes without reprocess my old spine assets ?my current runtimes version is 3.8,looks like I'm gonna need to update it to 4.1. Reprocess all old Spine Assets will be a diffcult task.

Spine assets exported from 3.8 can't be used with the 4.1 runtime. You can automate export of your skeletons using the Spine command line interface as also described here on the documentation page (in the note box):
spine-unity Runtime Documentation: Updating the spine unity Runtime
It is always recommended to setup scripted export once, which will save you a lot of manual work both during normal development, and especially when upgrading.