【unity游戏开发教程】Unity+Umotion Pro+VRoid+Blender制作人物模型和动画,在unity中简单制作二次元人物动画

前言

大家好!本期教程教大家在unity中制作二次元人物模型和动画

0.环境准备

1.下载VRoid Studio

1.搜索VRoid Studio下载即可,或者前往官网VRoid官网
VRoid Studio是由pixiv开发的一款3D人物建模软件,VRoid的主要特征就是通过类似绘画的方式进行人物的建模,使人们更为轻松地创造自己的虚拟人物。
在这里插入图片描述

2.插件下载推荐某站夜宵97大佬的VRoid插件VRoid汉化插件

2.Umotion Pro下载

1.前往Unity资源商店下载,链接:UMotion Pro - Animation Editor
2.可以下载免费版 Umotion 链接:UMotion Community - Animation Editor
3.免费的UMotion可以制作动画,但不支持编辑已有动画的Fbx文件,Umotion Pro插件可以在unity中编辑模型人物和泛型动画,支持导出动画片段

3.Mixamo网站

网站含有2500多的高品质人物模型动画,链接:Mixamo
Mixmo导入Unity教程,推荐某站IGBeginner0116大佬的教程Mixamo导入Unity

4.blender vrm和cats插件下载

下载VRM_Addon_for_Blender插件,链接:blender vrm导入插件
链接: cats插件
(安装blender插件,自行搜索)

5.unity UniVRM插件下载(github)

让unity识别glb和vrm文件,下载UniVRM插件,链接:UnVim

1.正片

1.1将VRoid模型导入unity,让其正常显示

1.打开VRoid,选择官方实例

在这里插入图片描述

2.直接导出模型

在这里插入图片描述

3.减少材质

方便导入unity时,重新选择材质,点击减少材质,要等待一段时间
在这里插入图片描述

4.打开blender导入刚才的vrm模型

1.下载VRM_Addon_for_Blender插件,链接:blender vrm导入插件
链接: cats插件在这里插入图片描述

5.导出fbx文件

在这里插入图片描述

6.将fbx模型导入unity,模型变成白模

这是因为blender导出的fbx,材质系统和unity的fbx材质系统不兼容
在这里插入图片描述
怎么解决材质丢失问题?复制在VRoid中导出的vrm模型,重命名xxx.glb
为什么不直接将VRoid导出的vrm文件,导入unity,vrm文件虽然可以用插件UniVRM完美的生成prefab等一系列文件,但是在使用umotion插件时,umotion要使用unity生成的Avatar,UniVRM生成的Avatar无法拖入umotion。

在这里插入图片描述
7.让unity识别glb文件
下载UniVRM插件,链接:UnVim
在这里插入图片描述
导入unity
在这里插入图片描述
这个时候导入glb文件到unity,就显示正常了,再提前材质,即将原本glb文件中的材质单独提取出来
在这里插入图片描述

将glb提取出来的材质赋给fbx在这里插入图片描述
这个时候,模型就显示正常了在这里插入图片描述

2. 制作动画

1导入umotion,开启编辑窗口

不会umotion的使用,参考这个大佬视频
推荐umotion教程,某站链接:枫2
在这里插入图片描述
界面布局
在这里插入图片描述

2.更改导入fbx的动画类型

点击应用完成,unity会生成Avatar
在这里插入图片描述

3.为节点添加Animatior组件

在这里插入图片描述

2.在umotion新建工程文件

在这里插入图片描述
3.将节点拖入Pose Editor
在这里插入图片描述

4.这样就可以制作二次元动画了

不会umotion的使用参考这个大佬视频
推荐umotion教程,某站链接:枫2

5.将mixamo动画到unity

修改模型动画类型
在这里插入图片描述
将动画拖入动画器窗口中
在这里插入图片描述
设置动画循环播放
在这里插入图片描述
这样动画就可以正常播放了

3.总结

1.Umotion下载
1.1前往Unity资源商店下载,Umotion Pro链接:UMotion Pro - Animation Editor
1.2可以下载免费版,Umotion 链接:UMotion Community - Animation Editor
2.下载VRM_Addon_for_Blender插件,链接:blender vrm导入插件
链接: cats插件
3.让unity识别glb文件,下载UniVRM插件,链接:UnVim
4.大家有疑问可以在评论区留言

  • 4
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
Powerful Animation Editor for animating any type of 3D model right inside Unity. Reduce development time by fine tuning animations even while being in play mode. No CPU overhead: UMotion produces Unity animation clips that require no run-time components. PRO FEATURES NEW: FBX Export (Windows and Mac OSX only) …. use animations created in UMotion in 3D modeling applications. Unity Timeline Integration …. edit animation clips used in Unity Timeline. Import Mocap (*) and 3rd Party Animations …. from the Asset Store or any modeling application. Animation Layers … use additive/override layers to modify animations without touching existing keys. Inverse Kinematics … advanced IK solution with IK Pinning and FK/IK Blending. Child-Of Constraint … change parenting during an animation. Convert Animations to IK … edit existing animations as if they have been created using your IK setup. (*) In order to maintain good editing performance it is not recommended to import mocap animations longer than 2 min. COMMUNITY FEATURES Includes all features of your favorite free animation editor: UMotion Community NEW: Muscle Groups NEW: Weighted Tangents Bone/Transform Animations Animate GameObject Components Animate in Play Mode Humanoid, Generic and Legacy Root Motion Animation Events and much more… UMotion offers everything you need to create high quality animations. LEARNING MATERIAL Learning UMotion is easy thanks to the detailed HTML based manual that is kept in the same style as Unity’s. The high quality video tutorials are organized into small chapters and are coming straight to the point: UMotion General – Video Tutorials UMotion Professional – Video Tutorials UMotion “In Practice” – Video Tutorials Please note that animating is a creative process that will require some practice in order to create good results. UMotion’s learning material is designed to assist you as much as possible. TECHNICAL SUPPORT Please use the official Question & Answer for

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值