unity3d - How to create .anim file from Mixamo to Unity?
问题描述
I download the character .fbx
file from Mixamo and add to Unity. I want to get .anim
file like
.
I try to drag Idle to the Animation window like, but it cannot paste in the Animation window.
I drag Idle to Animator and make a transition like, but when I test by drag character object to Animator and click the play button it not move.
解决方案
you are not supposed to have 2 idle states. You should be able to make the idle animation in only one state. Like this 1: Idle State
I think the problem of your animation is not about the format of the file. When you grab all the frames of your animation or just make it in unity, they will turn .anim file.
If you realize that when you play the game the state does not change from entry to Idle. You can try this:
Click on the animation you created, in the inspector and check if is loop is active 2. Idle Inspector
Add an animator component in your character object3. Animator
Create an animation controller [4]. [Create Animation Controller][4]
Drag and drop the animator controller in the controller component.
Open the animator and you should be able to drag your Idle animation to the animator tab where you were in. When you run once again your game you should be able to see the animation running.
Note: Some pictures I took are from unity2d, so probably it is not the perfectly the same inspector as yours, but you should be able to find it out. If you do not or if you still have any doubt, you can check this video. He exports it from blender, but the format .fbx is pretty the same. https://www.youtube.com/watch?v=D-oYgs1CP7U&ab_channel=SingleSaplingGames
推荐阅读
- python - Pandas 数据框 DateOffset 的偏移年份
- javascript - PrimeNG SelectButton with TEMPLATE 无法正确显示
- fabricjs - FabricJS - 运行 toDataURL 时“可能无法导出受污染的画布”JS 错误
- c# - C# HttpWebResponse 上传 PDF 不起作用/适用于 word 文档
- php - 使用 php 在 HTML 表中显示 sql 数据
- javascript - 为多个表设置点击事件处理程序
- tensorflow - 使用 Google Cloud ML 进行分布式训练 DeepLabv3+
- spring-boot - Spring Boot 2:使用 hibernate-jpamodelgen 时出现重复注释问题
- javascript - 以编程方式触发下拉“onChange”
- python - 如何在while循环中填充空字典,时间戳作为键和值