简体   繁体   English

Unity 3D导入

[英]Unity 3D importing

I used to code in c# using Xna then I saw Unity 3D engine and I downloaded latest version installed correctly started development of my game but suddenly when I was importing my animated character Unity 3d blocked my pc ! 我曾经使用Xna在c#中进行编码,然后看到Unity 3D引擎,并且我下载了正确安装的最新版本,从而正确地开始了游戏的开发,但是突然当我导入动画角色Unity 3d时,它阻止了我的电脑! I noticed that my keyboard goes off when that happened and I cant move arrow or call task menager I can only restart pc ! 我注意到发生这种情况时键盘会熄灭,并且我无法移动箭头或致电任务管理员,只能重启PC! So brother and sisters help me on my way . 所以兄弟姐妹在途中帮助我。

Model files that are placed in the Assets folder in your Unity project are automatically imported and stored as Unity assets. 放置在Unity项目中Assets文件夹中的模型文件会自动导入并存储为Unity资产。

A model file may contain a 3D model, such as a character, a building, or a piece of furniture. 模型文件可以包含3D模型,例如角色,建筑物或家具。 The model is imported as multiple assets. 该模型将作为多个资产导入。 In the Project view the main imported object is a Model Prefab. 在项目视图中,主要导入的对象是Model Prefab。 Usually there are also up to several Mesh objects that are referenced by the Model Prefab. 通常,Model Prefab还最多引用几个Mesh对象。

A model file may also contain animation data which can be used to animate this model or other models. 模型文件也可能包含可用于对该模型或其他模型进行动画处理的动画数据。 The animation data is imported as one or more Animation Clips. 动画数据将作为一个或多个动画剪辑导入。

What I understand in your question is that whenever you try to import assets into unity it makes trouble. 我对您的问题的理解是,每当您尝试将assets导入unity ,都会造成麻烦。 Try to place them in the folder in your drive and then run the project in Unity. 尝试将它们放在驱动器的文件夹中,然后在Unity中运行项目。 The normal path of Unity project is C:\\Users\\Public\\Documents\\Unity Projects Unity项目的常规路径是C:\\Users\\Public\\Documents\\Unity Projects

From what I understand; 据我了解; Your computer is spazzing out when you're trying to import Animated 3D characters into Unity 3D 当您尝试将Animated 3D角色导入Unity 3D时,您的计算机异常震撼

I have faced a similar problem. 我也遇到过类似的问题。

The solution I believe might work is : 我认为可行的解决方案是:

  1. Create the appropriate folders inside of unity. 在unity内部创建适当的文件夹。 Assets > Models 资产>模型
  2. Outside of unity, place the OBJ file for the models into your c:\\Users\\Public\\Documents\\Unity Projects\\Your Project or wherever it might be, in the Assets\\Models folder. 将单位的OBJ文件放置在c:\\ Users \\ Public \\ Documents \\ Unity Projects \\ Your Project或任何位置的Assets \\ Models文件夹中。
  3. Then when you're inside unity, it should be in there without any issues. 然后,当您处于统一内部时,它应该没有任何问题。

That should do the trick. 这应该够了吧。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM