如何在 Unity 中从 .fbx 文件创建 .anim 文件? [英] How to create .anim file from .fbx file in Unity?
本文介绍了如何在 Unity 中从 .fbx 文件创建 .anim 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是 Unity 的新手.在我的游戏中,模型和动画从 3DMAX 导出为 .fbx 文件,动画在 Unity 中被剪裁,但没有生成 .anim 文件,我需要单独的 .anim 文件,因为即使我剪裁了动画,以下代码也不起作用运行":
I am new in using Unity. In my game, models and animations are exported from 3DMAX as .fbx files, animations are clipped in Unity, but there's no .anim files generated, I need separated .anim files because the following code will not work even I have clipped animation "run":
var clip = animation["run"];
有人可以帮我吗?提前致谢.
Can someone help me? thanks in advance.
推荐答案
我终于找到答案了,在.fbx文件中的动画剪辑上按CTRL+D会创建一个单独的.anim文件,什么奇怪的操作!
I finally found the answer, pressing CTRL+D on animation clip in .fbx file will create a separate .anim file, what a strange operation!
这篇关于如何在 Unity 中从 .fbx 文件创建 .anim 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文