我为角色的移动动画与站立动画都运用了物理约束,但是在进行两个动画之间的切换时会因为骨骼位置的重置造成一个非常大幅的运动,请问有没有方法可与避免这个问题 ?

Related Discussions
...

Does this happen in a runtime, (which runtime in case?) or in the editor? Could you show an example of what is happening precisely? Maybe by recording a video.

  • mika がこの投稿に返信しました。
    8日 後

    Erika
    抱歉过了这么久才看到您的回复,现在附上两段视频并修正一些关于问题的描述
    我为人鱼的头发,飘带,尾鳍等部件附加了物理约束,可以看到在人鱼停止移动并时,身上的物理约束骨骼发生了非常大幅的运动

    并且在生成她的瞬间,她身上的物理约束骨骼也会发生非常大幅的运动

    • Misaki がこの投稿に返信しました。

      mika There is a Unity application icon in the taskbar shown in the video, does that mean it is the spine-unity runtime that you are using?

      @mika The video looks as expected to me, the hair moves a lot as the head is moved into a different pose without any mix transition. Do you mean that you want less movement of the hair, or do you mean that you don't want any movement at all when changing to the selected-by-cursor animation?

      If you want less movement, you might want to set the Physics Constraint's Limit parameter in your Spine project to a lower value.

      If you don't want any movement at all, you could reset Physics Constraints by calling Skeleton.UpdateWorldTransform(Physics.Reset);.