【问题标题】:Unity 3d How to make the player to stay at the target position after the animation completesunity 3d 动画完成后如何让玩家停留在目标位置
【发布时间】:2021-05-29 07:10:12
【问题描述】:

您好,我的问题是动画位置无法保留。我需要这个用于道奇(战斗)系统。 Root Motion 不起作用!

.

【问题讨论】:

标签: c# unity3d animation


【解决方案1】:

您可以在动画中制作另一个状态,并使您的动画进入该状态。在脚本中,当动画处于该状态时,不要让玩家移动。

只要你想让事情恢复正常,就返回空闲状态。

其他方法是使用其他动画库(如leatween)并在动画结束后进行回调。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-09-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-16
    • 1970-01-01
    • 2022-10-24
    相关资源
    最近更新 更多