트리거 콜라이더는 다른 콜라이더와 충돌하지 않으며, 대신 다른 콜라이더가 트리거 콜라이더를 통과합니다.
트리거 콜라이더를 생성하려면 다음 단계를 따르십시오.
IsTrigger
를 true
로 설정합니다.충돌에 동적 콜라이더가 하나 이상 있어야 합니다. 트리거 충돌에 포함된 하나 이상의 게임 오브젝트에 물리 바디(리지드바디 또는 관절 바디)가 있어야 합니다. 대부분의 경우 트리거 콜라이더는 고정되어 있고 정적이며(물리 바디가 없음), 이를 통과하는 콜라이더는 동적이며 움직입니다(물리 바디가 있음).
트리거 콜라이더의 크기와 셰이프를 실험해 보세요. 게임플레이 및 시뮬레이션의 경우 트리거를 플레이어가 직관적으로 느낄 수 있도록 약간 조정해야 할 수 있습니다. 예를 들어 트리거 콜라이더를 보이는 관련 게임 오브젝트보다 약간 크게 만들어 더 넓은 반경을 갖도록 실험해 볼 수 있습니다.
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.