터레인 콜라이더는 연결된 터레인의 지오메트리에 일치하는 콜라이더를 구축합니다. 터레인에 가장 적합하고 정확한 콜라이더 타입입니다.
프로퍼티 | 설명 |
---|---|
Provides Contacts |
Provides Contacts를 활성화하면 항상 이 콜라이더에 대한 컨택트 정보를 생성합니다. 보통 콜라이더는 전송할 대상이 있는 경우에만 컨택트 데이터를 생성합니다. 이 경우에는 메시지 OnCollisionEnter , OnCollisionStay 또는 OnCollisionExit 가 그 대상입니다. Provides Contacts를 활성화하면 콜라이더는 항상 물리 시스템에 대한 컨택트 데이터를 생성합니다. 컨택트 생성은 리소스를 많이 소모하므로 Provides Contacts는 기본적으로 비활성화되어 있습니다. |
Material | 콜라이더가 다른 콜라이더와 상호작용하는 방법을 결정하는 물리 머티리얼 에셋을 선택합니다. 선택하지 않을 경우 물리 시스템은 프로젝트 전체의 기본 설정을 사용합니다. |
Terrain Data | TerrainData 에셋을 선택합니다. 터레인 콜라이더는 TerrainData 에셋 프로퍼티를 기반으로 콜라이더 셰이프를 구축합니다. |
Enable Tree Colliders | 활성화하면 터레인의 모든 나무에 대한 콜라이더를 자동으로 생성합니다. 이렇게 하면 콜라이더의 정확도가 높아지지만 더 많은 계산을 요구하므로, 터레인에서 나무와의 물리 상호작용이 씬에 필요한 경우에만 사용해야 합니다. 이는 기본적으로 활성화되어 있습니다. |
Layer Overrides 섹션에서는 이 콜라이더에 대해 프로젝트 전체의 레이어 기반 충돌 검사 설정을 오버라이드할 수 있는 프로퍼티를 제공합니다.
프로퍼티 | 설명 |
---|---|
Layer Override Priority | 이 콜라이더 오버라이드의 우선순위를 정의합니다. 두 콜라이더에 상충되는 오버라이드가 있으면 우선순위 값이 더 높은 콜라이더의 설정이 적용됩니다. 예를 들어, Layer Override Priority가 1인 콜라이더가 Layer Override Priority가 2인 콜라이더와 충돌하면 물리 시스템은 Layer Override Priority가 2인 콜라이더의 설정을 사용합니다. |
Include Layers | 이 콜라이더를 사용하는 충돌에 어떤 레이어를 포함할지 선택합니다. |
Exclude Layers | 이 콜라이더를 사용하는 충돌에서 어떤 레이어를 제외할지 선택합니다. |
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.