将搅拌机模型导入统一

Importing blender model to unity

我是 Unity 3D 和建模方面的新手。我已经创建了一个搅拌机模型,但无法正确导入它。我正在选择我需要的对象,然后将 FBX 导入到 unity 中,看起来像这样(屏幕截图)。我不知道我必须做什么。它也不会为“欢迎文本”导入排放。

**

对于多个对象,你有一些不同的事情要做

**

对于单个 Blender 文件中的多个模型,将每个模型导出为 FBX 文件(就像您已经制作的那样)然后一次导入一个可能更容易。每个文件一个模型,直接导入 Blender 文件应该没问题。请记住,一旦导入,原生 Blender 文件将在 Blender 中修改原始文件时发生变化。 了解您是否正确导入非常重要,以确保:

  1. With the model opened, in the right side-bar region, go to the “Transform” tab.
  1. Set all the rotation axes (X, Y, Z) to 0°.
  1. Set all the axis scales (X, Y, Z) to zero 1,0.
  1. Select the “Cursor Tool” in the top left.
  1. Select the new origin on the model by clicking where you want to place it.
  1. Go to “Object > Set Origin > Origin to 3D Cursor”.

最后这些步骤不是强制性的,但一旦将模型导入 Unity,它们确实可以节省时间,尤其是在多次导入时。

Setting a new origin example

接下来,我们将确保所有模型的法线都指向外,因为如果某些表面没有相应地定向,它们可能在 Unity 中不可见

  1. Go to “Edit Mode” and select all faces.
  1. Go to “Mesh > Normals > Recalculate Outside”.
  1. Save your file.

这一切都是为了 Blender,让我们走向统一

将 FBX 文件导入 Unity

Importing an FBX file to Unity

为此,我们首先需要将模型导出为 FBX 格式。为此,当我们还在 Blender 中时:

1.Go to “File > Export > FBX (.fbx)”.

2.In the export window, enable “Apply Transform” by clicking on the checkbox. This will make the coordinate system from the model work with Unity’s system.

3.Click on “Export FBX” in the top right.

试试这个,如果不起作用请告诉我