플랫폼 이펙터 2D는 일방 충돌, 측면 마찰/바운스 제거 등 다양한 플랫폼 동작을 적용합니다.
이펙터와 함께 사용하는 콜라이더는 일반적으로 다른 콜라이더와 충돌할 수 있도록 트리거로 설정되지 않습니다.
프로퍼티: | 기능: |
---|---|
Use Collider Mask | 이 항목을 선택하면 콜라이더 마스크 프로퍼티의 사용이 표시됩니다.이 항목을 선택하지 않으면 모든 콜라이더에 대해 글로벌 충돌 매트릭스가 기본값으로 선택됩니다. |
Collider Mask | 이펙터와 상호작용할 특정 레이어를 선택하는 데 사용되는 마스크입니다. |
Use One Way | 이 항목을 선택하면 일방 충돌 동작이 사용되는지 여부가 표시됩니다. |
Use One Way Grouping | 일방 동작으로 비활성화된 모든 컨택트를 모든 콜라이더에서 작동시킵니다.이 옵션은 플랫폼을 통과하는 오브젝트에 여러 개의 콜라이더를 사용하고 모두 하나의 그룹으로 함께 작동해야 할 때 유용합니다. |
Surface Arc | 로컬 “위"를 중심으로 한 호의 각도는 콜라이더가 통과할 수 없는 표면을 정의합니다.이 호를 벗어나는 모든 것은 일방 충돌로 간주됩니다.| |Use Side Friction |이 항목을 선택하면 플랫폼 측면에서 마찰이 사용되는지 여부가 표시됩니다. | |Use Side Bounce | 이 항목을 선택하면 플랫폼 측면에서 바운스가 사용되는지 여부가 표시됩니다. | |Side Arc |이펙터의 로컬 ”왼쪽“ 및 ”오른쪽“을 중심으로 플랫폼의 측면을 정의하는 호의 각도입니다.이 호 안의 모든 충돌 노멀은 ”측면" 동작에 고려됩니다. |
PlatformEffector2D
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.