• 日本語
  • Spine UnityのSkeletonRenderTextureのZ軸回転について

Unityランタイムのサンプルシーン「RenderTexture FadeOut Transparency」で Spineboy CorrectFadeout のZ軸回転を行ったところ、添付画像のような描画結果になりました。
今回のサンプルシーンのようなSpineゲームオブジェクト自体に設定されたZ軸回転だけでなく、実際のゲームでは親が回転しているケースもあると思うのですが、どちらのケースも解決出来る何か良い方法はないでしょうか?

Related Discussions
...
  • Đã chỉnh sửa
19 ngày sau

ご迷惑をおかけして申し訳ございません。ご報告いただきありがとうございます!これは意図しない動作であり、対応が抜けてしまっていました。 Z軸の回転も正しくサポートされるようにスクリプトを修正します。 現在、issueチケットがこちらにあります。 バグ修正が利用可能になり次第、折り返しご連絡いたします。


We're sorry for the troubles and thanks for reporting! This is unintended behaviour and has slipped through. We will fix the script so that it also supports Z axis rotation correctly. There is now an issue ticket here. We will get back to you as soon as a bugix is available.

=====

4.1ブランチでこの問題を修正しました。 SkeletonRenderTextureは、ピクセルパーフェクトな投影を維持しながら、すべての軸を中心とした正しい任意の回転を同時にサポートするようになりました。 また、後日SkeletonRenderTextureGraphicに使用される予定のベースクラスSkeletonRenderTextureを追加しました。

新しいspine-unityunitypackageはこちらでダウンロード可能です:
spine-unity Download
これで問題が解決するかどうかお知らせいただければ幸いです。 ご報告ありがとうございました!


We have just fixed this issue on the 4.1 branch. SkeletonRenderTexture now supports correct arbitrary rotation around all axes simultaneously, while maintaining pixel-perfect projection. We also added a base class SkeletonRenderTexture that will be used for SkeletonRenderTextureGraphic later.

A new spine-unity unitypackage is available for download:
spine-unity Download
Please let us know if this fixes the issue on your end as well. Thanks again for reporting!

正しく動作する事を確認できました。修正いただきありがとうございました!


We have confirmed that it works correctly. Thank you for the fix!

それは良かったです!ご報告いただきありがとうございました。
Glad to hear, thanks for getting back to us!