Blender export to Unity Notation

Known Issues

  • If you put a model in your game world and then delete/add an object or component it will lose its prefab connection to the 3D file (blender or other) it came from and if that file is reimported with new objects in it it won't take effect. However edits to verts, uvs and removing objects inside the original objects will be recognized.
  • You have to re-add all the colliders to an object imported from Blender
  • You should probably bake the scale and rotation in Object Mode before importing into Unity. Select Object>Clear/Apply>Apply Size/Rotation. This "bakes" the transformations into the model.

Unity Scale Calibration

Unity world units and Blender world units are equal. A 1wu cube exported from Unity as a .obj and imported into Blender will match up with a 1bu cube in Blender (the default cube in a new Blender file is 2bu).

Meshes (Modelling)

When modeling in Blender, most people have a tendency to apply transformations in the Object mode. As of version 1.2, Unity's Blender importer ignores these transformations. To get around this, all objects in Blender must be at the origin with scale of 1, and zero rotation. You may do one of two things:

  • To scale and move around meshes relative to one another, apply your transformations in Edit mode.
  • You may bake the scale and rotation in Object Mode as well by selecting Object>Clear/Apply>Apply Size/Rotation. This "bakes" the transformations into the model.

Another thing to know is that mesh count in Unity (and real time 3D in general) matters a lot, performance wise. If it is feasible to join your meshes in Blender, you should do so. Select a group of meshes and press Control-J to join them.

Textures (UV's)

TBA

Bones

TBA

Animations

The current Collada exporter for Blender (which Unity uses when loading Blender scenes) does not support exporting armatures and animations. This is under development and Unity will automatically gain support for animations when the exporter is finished. Until then, one can export the Blender models into Dim3 Inspire and skin and animate them there before exporting into Unity.

The latest version of blender (2.45 as of this writing) has a working FBX exporter that handles 2 UV channels, and multiple animations.

Exporting to Unity

The default scene in Blender. The box has to be removed and the user defaults saved for it to play well with Unity.

Unity will import .blend files natively, however there are a few things to be done to get it to work properly. This page assumes you have some knowledge of Blender. There are lots of Blender tutorials online to bring you up to a novice level.

Scene Cleanup

Blender lets you specify an initial scene. The default for this is a box, a light, and a camera. If you have any mesh in the initial scene it will get imported into Unity along with whatever else you have, even if you delete it in Blender.

Start up Blender and delete the box in the scene. Now, press Control-U to save your changes to the user defaults.

Now your Blender files will be imported into Unity without the extra box.

Export

The latest version of Blender 3D now supports animations and armature export into Unity, move the .blend files into your projects assets folder and create animation clips in unity with the import settings dialog.However: in order to export a simple Blender animation without bones to Unity, first export it from Blender as a fbx-file.

<think>好的,用户想要寻找将BlenderUnity连接起来使用的插件,特别是关于导出导入的工具和教程。首先,我需要回顾一下已有的引用内容,看看有没有相关的插件推荐。 在引用中,引用[2]提到了一款BlenderUnity的FBX导出器插件,强调其便捷性、可定制化和开源特点,这应该是一个不错的选择。用户可能希望直接在Blender中导出模型到Unity,而无需中间步骤,这个插件正好满足需求。 另外,引用[3]讨论了将Ogre模型导入Blender再导出为FBX到Unity的过程,虽然主要针对Ogre模型,但提到了FBX导出可能遇到的问题,比如插件兼容性。这提醒我需要推荐兼容最新Blender版本的插件,避免用户遇到工具过时的问题。 用户可能还需要教程资源,所以需要提供相关的教程链接或方法。比如,引用[1]中的glTF导出器虽然主要针对glTF格式,但教程结构可能对用户有帮助,不过更直接的是引用[2]提到的插件可能有自己的文档。 还需要考虑其他可能的插件,比如Blender内置的FBX导出功能,但用户可能希望有更优化的流程,所以第三方插件如Blender Unity FBX Exporter会更合适。此外,UnityBlender集成工具包也是一个选项,但需要检查是否支持最新版本。 用户的问题还涉及导入,可能需要双向的工具,但引用中主要提到导出。因此,回答应集中在导出插件上,同时提及Unity的自动重新导入功能。 总结下来,回答需要包括推荐的插件(如引用[2]的FBX导出器)、使用步骤、注意事项(如版本兼容性、单位设置)、教程资源,以及相关问题引导用户深入。确保回答结构清晰,分点列出,帮助用户逐步操作。</think>### BlenderUnity连接插件及工具推荐 #### 一、核心插件推荐 1. **Blender Unity FBX导出器**[^2] 这是专为优化BlenderUnity工作流设计的插件,支持直接导出FBX格式文件。其特点包括: - 在Blender界面内完成导出操作,无需第三方软件 - 支持骨骼动画、材质贴图和多UV通道 - 提供自定义导出参数设置面板 ```python # 导出操作示例路径(插件会自动添加菜单项) # 文件 > 导出 > Unity FBX (.fbx) ``` 2. **Unity BlendShape插件**[^3] 针对需要面部表情动画的用户,该插件可保留Blender的形态键数据,解决Unity默认FBX导入丢失BlendShape的问题。 #### 二、操作流程 1. **基础导出步骤**: - 在Blender中完成模型绑定和材质设置 - 使用插件导出菜单选择`Unity FBX`格式 - 在Unity项目窗口直接拖入导出的FBX文件 2. **材质优化技巧**: - 使用`Principled BSDF`作为基础着色器 - 贴图分辨率建议保持为2的幂次方(如512x512) - 启用`sRGB`色彩空间设置(仅限漫反射贴图) #### 三、注意事项 1. **版本兼容性**: - Blender 3.0+ 与 Unity 2021 LTS版本最佳适配 - 旧版Unity需安装FBX Exporter插件包 2. **常见问题处理**: - 法线翻转问题:在导出设置中勾选`Apply Modifiers` - 比例失真:统一使用米制单位(建议在Blender场景属性中设置`Unit Scale = 0.01`) #### 四、教程资源 1. 官方文档:[Blender Unity Workflow Guide](https://docs.unity3d.com/Manual/Blender.html) 2. 视频教程推荐: - 《BlenderUnity全流程动画制作》(B站专栏) - 《FBX导出参数详解》(YouTube频道CG Fast Track)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值