• RuntimesUnity
  • PhysicsConstraint在3d世界中有问题

我创建了奔跑的物理效果,但是只有一个方向好使,在其他三个方向动画是错的,看起来是spine本身并没有进行旋转

    Related Discussions
    ...

    根据您提供的信息,您遇到的问题可能是由于Spine的物理约束在3D世界中的旋转处理不正确。这个问题在Spine 4.2版本中已经被报告,并且有一些相关的讨论和解决方案。

    1. 物理约束的旋转问题:在Spine 4.2版本中,物理约束的旋转在某些情况下可能没有正确应用。这个问题已经被报告,并且在新的spine-unity 4.2版本中进行了修复。您可以下载最新的spine-unity 4.2 unitypackage来解决这个问题。下载链接:spine-unity-download

    2. 约束顺序:确保您的约束顺序是正确的。约束的计算是从上到下进行的,如果顺序不正确,可能会导致动画效果不如预期。您可以参考这个链接了解更多关于约束顺序的信息:Constraints: Order

    3. Transform约束:如果您使用了Transform约束,确保被约束的骨骼不是目标的子骨骼,这样会导致约束不起作用。另外,您可以尝试点击约束节点上的“重置”按钮,看看是否能通过改变顺序来解决问题。

    希望这些信息能帮助您解决问题。如果问题仍然存在,请确保您使用的是最新版本的Spine编辑器和相关的运行时库。

    Marsyian I'm afraid that the explanation is too brief and I'm not sure what specific problem you are experiencing.
    If you are not using the latest editor and runtime, as Spinebot has already done, we suggest you update it, but if that does not solve the problem, we would appreciate it if you could show us the results you are looking for and what you are actually getting.

      Misaki 简单来说就是当我把我的spine在unity中旋转90以后,他就不会应用PhysicsConstraint所带来的物理动画,只有0和180度是好的

        Marsyian 现在看起来180也是不行的,180度在用鼠标在unity引擎中拖拽才能出现动画,我动过输入控制是还是不会出现动画

        Please create a minimal Unity project that demonstrates the issue. I'm afraid it's not possible for us to reproduce what you are seeing just based on your description.

        @Marsyian You can send us your minimal Unity project as a zip file to contact@esotericsoftware.com if you can't share a public link on the forum. When sending an email, please briefly mention this forum URL so that we know the context.