如何使用从 Blender 导入的网格动画
How to use animations imported with the mesh from blender
我用网格和骨架在搅拌机中制作了一个动画,我将其导出为 FBX,并将其导入到 unity 中,我可以看到动画和网格,一切看起来都很好,但因为我只是进入 unity 几周后,我不知道如何播放、停止、倒回动画等等,我四处寻找有关如何操作的指南,每个视频似乎都是在 unity 中制作动画并使用角色控制器,我是不是搞砸了?我必须重新制作我的动画和模型吗?怎么回事
查看导入选项并选中“导入动画”。如果动画应该居中或相对,你也可以 select。
另外,我很确定您将需要一个动画控制器。一个简单的就足够了。
虽然我刚刚用谷歌搜索了你的问题并找到了这个我现在无法验证的答案,但也许它适合你:
if you want to just play a clip on a thing, you can use the new
Playables system, if you're in 2017.1 or later. The API is pretty low
level, so you're going to want to wrap it in a component, but it's
very ideal for "play a clip on a thing" situations. It's still using
an animator to play the animation, but you don't need an
AnimatorController, and you can dispose of the graph and stop the
thing from doing stuff when it's not animating.
来源:https://forum.unity.com/threads/playing-animationclips-without-an-animator.497400/
我用网格和骨架在搅拌机中制作了一个动画,我将其导出为 FBX,并将其导入到 unity 中,我可以看到动画和网格,一切看起来都很好,但因为我只是进入 unity 几周后,我不知道如何播放、停止、倒回动画等等,我四处寻找有关如何操作的指南,每个视频似乎都是在 unity 中制作动画并使用角色控制器,我是不是搞砸了?我必须重新制作我的动画和模型吗?怎么回事
查看导入选项并选中“导入动画”。如果动画应该居中或相对,你也可以 select。 另外,我很确定您将需要一个动画控制器。一个简单的就足够了。 虽然我刚刚用谷歌搜索了你的问题并找到了这个我现在无法验证的答案,但也许它适合你:
if you want to just play a clip on a thing, you can use the new Playables system, if you're in 2017.1 or later. The API is pretty low level, so you're going to want to wrap it in a component, but it's very ideal for "play a clip on a thing" situations. It's still using an animator to play the animation, but you don't need an AnimatorController, and you can dispose of the graph and stop the thing from doing stuff when it's not animating.
来源:https://forum.unity.com/threads/playing-animationclips-without-an-animator.497400/