메시 는 3D 월드의 아주 큰 부분을 구성합니다. Unity는 ProBuilder라는 모델링 툴을 제공할 뿐만 아니라 Mesh Deformer, UModeler, Mesh Editor 등과 같은 에셋 스토어 모델링 플러그인도 지원합니다. 또한 Unity는 대부분의 3D 모델링 소프트웨어와 뛰어난 호환성을 자랑합니다.
Unity는 삼각형 또는 사각형으로 이루어진 폴리곤 메시를 지원하므로 Nurbs, Nurms 및 Subdiv 표면을 폴리곤으로 전환해야 합니다.
Unity가 사용하는 두 가지의 주요 콜라이더 타입은 메시 콜라이더와 기본 콜라이더입니다. 메시 콜라이더는 임포트된 메시 데이터를 사용하는 컴포넌트이며 Unity가 환경 충돌에 이를 사용할 수 있습니다. Model 탭에서 콜라이더 생성을 활성화하면 메시가 씬에 추가될 때 메시 콜라이더가 자동으로 추가되고 물리 시스템에서 정상적으로 인식됩니다.
게임 오브젝트(예: 자동차)를 여기저기로 움직이는 경우 메시 콜라이더를 사용할 수 없습니다. 기본 콜라이더를 대신 사용해야 합니다. 이 경우 Generate Colliders 설정을 비활성화해야 합니다.
메시를 서로 최대한 병합하십시오. 메시가 머티리얼과 텍스처를 가능한 많이 공유하도록 해야 합니다. 그러면 성능이 크게 향상됩니다.
Unity에서 게임 오브젝트에 추가 설정(물리, 스크립트 또는 기타 컴포넌트)을 적용해야 하는 경우 3D 애플리케이션에서 게임 오브젝트 프로퍼티의 이름을 올바르게 지정하십시오. 여러 개의 pCube17 이나 Box42 같은 이름을 사용할 경우 작업이 매우 어려울 수 있습니다.
3D 모델링 애플리케이션의 월드 좌표계 중심에 메시를 위치시키십시오. 그러면 Unity에 메시를 더 쉽게 배치할 수 있습니다.
메시의 버텍스가 컬러 요소를 가지지 않을 경우 Unity는 메시를 처음 렌더링할 때 올화이트 버텍스 컬러 배열을 메시에 자동으로 추가합니다.
Unity 에디터가 3D 모델링 애플리케이션의 원본 모델에 비해 너무 많은 버텍스 또는 삼각형을 표시합니다.
이 현상은 정상입니다. 표시되는 내용은 렌더링을 위해 실제로 GPU로 전송되고 있는 버텍스/삼각형의 수입니다. 머티리얼이 버텍스/삼각형을 두 번 전송하도록 요구하는 경우 이외에도 하드 노멀 및 비인접 UV 같은 요인은 버텍스/삼각형 수를 3D 모델링 애플리케이션에 나오는 수보다 훨씬 더 많이 증가시킵니다. 3D 및 UV 공간에서 삼각형이 스트립을 형성하려면 서로 인접해야 하므로, UV 경계 부분이 있는 경우 스트립을 형성하려면 손상된 삼각형을 만들어야 합니다. 이로 인해 버텍스/삼각형의 수가 증가합니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.