Honda 您好!我在使用spine4.2为动画添加物理动画后,设置为“确定性”,但是在unity中它不生效。我希望物理只跟随spine的骨骼移动、旋转等,而对于spine整体的移动像勾选了“确定性”一样不随动,我应该如何设置?
Misaki Honda In addition to Spinebot's answer, I would like to add that the “Deterministic” checkbox does not affect runtime. This option is only affected for previews in Spine.
Spinebot 要在 Unity 中设置 Spine 的物理效果仅跟随骨骼的移动和旋转,而不受整体 GameObject 移动的影响,您可以调整 Physics Inheritance 设置。在 SkeletonAnimation 组件的 Advanced 部分中,将 Physics Inheritance 设置为一个新的父 GameObject,这样您可以自由移动该父对象而不会影响物理效果。这样,物理效果将仅响应骨骼的移动和旋转,而不会受到整体 GameObject 的移动影响。 您可以参考以下链接获取更多信息:spine-unity 主要组件 #进阶设置参数。