Edge Collider 2D 컴포넌트는 2D 물리 환경에서 사용하는 콜라이더입니다. 콜라이더의 모양은 라인 세그먼트로 이루어진 자유형이므로, 스프라이트 그래픽의 모양이나 다른 모양에 맞도록 조정할 수 있습니다. 콜라이더의 시작점과 끝점은 폴리곤 콜라이더 2D와 달리 영역을 서로 만나서 완전히 감쌀 필요가 없으며, 직선 또는 다른 단일 에지 모양을 띌 수도 있습니다.
프로퍼티 | 기능 |
---|---|
Edit Collider | Edit Polyline 버튼(폴리라인 아이콘)을 선택하면 콜라이더 윤곽선을 편집 가능 상태로 만들 수 있습니다. Edit Collider 가 활성화되었을 때 사용할 수 있는 단축키는 아래의 콜라이더 단축키를 참조하십시오. |
Material | 이 콜라이더에 대한 Physics Material 2D 를 선택하면 다른 콜라이더와 상호작용하는 방식을 결정할 수 있습니다. |
Is Trigger | 이 프로퍼티를 활성화하면 콜라이더가 트리거처럼 동작합니다. |
Used by Effector | 이 프로퍼티를 활성화하면 연결된 Effector 2D 컴포넌트가 이 콜라이더를 사용합니다. |
Offset X/Y | x/y 양을 설정하여 콜라이더 지오메트리를 오프셋합니다. |
Edge Radius | 콜라이더의 가장자리를 중심으로 반지름을 형성하는 값을 설정합니다. 이로 인한 결과로 코너가 둥글고 오목한 대형 콜라이더 2D가 생성됩니다. 기본값은 0(반지름 없음)입니다. |
Points | 생성된 콜라이더의 복잡도에 대한 편집할 수 없는 정보입니다. |
Use Adjacent Start Point | 이 프로퍼티를 활성화하면 Adjacent Start Point 로 충돌 응답을 계산하여 에지 콜라이더의 시작점에서 충돌이 발생할 때 충돌 노멀을 형성할 수 있습니다. |
Adjacent Start Point X/Y | Adjacent Start Point의 x/y 좌표를 설정합니다. |
Use Adjacent End Point | 이 프로퍼티를 활성화하면 Adjacent End Point 로 충돌 응답을 계산하여 에지 콜라이더의 끝점에서 충돌이 발생할 때 충돌 노멀을 형성할 수 있습니다. |
Adjacent End Point X/Y | Adjacent End Point의 x/y 좌표를 설정합니다. |
단축키 | 기능 |
---|---|
버텍스 또는 가장자리를 길게 누른 상태로 드래그합니다. | 선택한 버텍스나 가장자리를 다른 포지션으로 이동시킵니다. |
가장자리의 아무 위치나 클릭합니다. | 가장자리의 빈 공간을 클릭하여 새 버텍스를 생성합니다. |
Ctrl(Windows) 또는 Command(macOS) 키를 길게 누른 상태로 버텍스 또는 가장자리를 선택합니다. | 선택한 버텍스 또는 가장자리를 삭제합니다. |
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.