기본 콜라이더는 Unity에서 가장 효율적인 계산이 가능한 콜라이더 타입입니다. 박스, 구체 및 캡슐과 같이 단순한 지오메트리 셰이프로 정의되기 때문에 “기본”이라고 불립니다. 이는 빌트인 게임 오브젝트 셰이프인 기본 오브젝트와 일치합니다.
Unity에는 세 가지의 기본 콜라이더 셰이프가 있습니다.
기본 콜라이더는 효율적이지만 한계가 있습니다. 예를 들어 셰이프를 변경하거나 변형할 수 없으며, 확장/축소만 가능합니다. 메시 콜라이더와 다르게 기본 콜라이더는 삼각형으로 구성되지 않으며 셰이프가 고정되어 있습니다. 참고로 물리 디버그 시각화에 기본 콜라이더의 삼각형 기반 메시가 표시되지만, 이는 시각화 목적으로만 사용되며 콜라이더의 구조를 반영하지 않습니다.
기본 콜라이더는 일반적으로 복잡한 셰이프, 휠 또는 터레인 충돌에 가장 적합한 옵션이 아닙니다. Unity에는 더 복잡한 콜라이더 셰이프에 사용할 수 있는 특정 콜라이더가 있습니다(메시 콜라이더, 터레인 콜라이더, 휠 콜라이더 참조). 그러나 복잡한 셰이프에 맞는 콜라이더 셰이프가 필요하지만 너무 정확할 필요는 없는 경우, 기본 콜라이더를 사용하여 복합 콜라이더를 만들 수 있습니다. 복합 콜라이더는 필요한 콜라이더 셰이프에 맞는 배열의 기본 콜라이더 모음입니다.
요약하면 기본 콜라이더는 효율적이지만, Unity에서 오브젝트에 충돌 검사를 추가하기에는 부정확할 수 있습니다. 기본 콜라이더는 비교적 단순한 프리미티브 셰이프의 게임 오브젝트에 적합합니다. 하지만 셰이프가 단순하지 않고 복잡한 오브젝트나 더 정확한 충돌 검사에는 더 복잡한 콜라이더 셰이프를 사용해야 합니다.
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.