게임 오브젝트에 콜라이더 2D 컴포넌트를 연결하면 콜라이더 2D는 게임 오브젝트의 어느 영역이 충돌을 포함하며 씬에서 다른 콜라이더와 상호작용할 수 있는지 정의합니다. 콜라이더 2D는 보이지 않으며, 보다 정확한 충돌을 위해 게임 오브젝트와 거의 같은 셰이프를 갖습니다. 인스펙터 창 프로퍼티에서 콜라이더의 셰이프 및 기타 프로퍼티를 조정할 수 있습니다.
2D 게임 오브젝트용 콜라이더는 모두 2D로 끝나는 이름을 갖습니다. 3D 게임 오브젝트를 2D 콜라이더와 함께 사용하거나 2D 게임 오브젝트를 3D 콜라이더와 함께 사용할 수 없습니다.
리지드바디 2D와 함께 다음 유형의 콜라이더 2D를 사용할 수 있습니다.
항목 | 설명 |
---|---|
Circle Collider 2D 컴포넌트 레퍼런스 | 써클 콜라이더를 생성하려면 Circle Collider 2D 컴포넌트 프로퍼티를 참조하십시오. |
Box Collider 2D 컴포넌트 레퍼런스 | 직사각형 또는 정사각형 콜라이더를 생성하려면 Box Collider 2D 컴포넌트 프로퍼티를 참조하십시오. |
Polygon Collider 2D 컴포넌트 레퍼런스 | 자유형 콜라이더를 생성하려면 Polygon Collider 2D 컴포넌트 프로퍼티를 참조하십시오. |
Edge Collider 2D 컴포넌트 레퍼런스 | 자유형 및 개방형 경로 충돌 영역을 생성하려면 Edge Collider 2D 컴포넌트 프로퍼티를 참조하십시오. |
Capsule Collider 2D 컴포넌트 레퍼런스 | 끝이 둥근 원통형 충돌 영역을 생성하려면 Capsule Collider 2D 컴포넌트 프로퍼티를 참조하십시오. |
Composite Collider 2D 컴포넌트 레퍼런스 | 다른 콜라이더 셰이프를 단일 콜라이더로 병합하려면 Composite Collider 2D 프로퍼티를 참조하십시오. |
Custom Collider 2D 컴포넌트 레퍼런스 | 커스터마이즈 가능한 충돌 지오메트리를 생성하려면 Custom Collider 2D 프로퍼티를 참조하십시오. |
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.