두 개의 콜라이더가 접촉하면 물리 시스템은 각 콜라이더의 표면 프로퍼티를 사용하여 두 표면 사이의 총 마찰과 탄성을 계산합니다.
Unity에서는 물리 머티리얼 에셋을 사용하여 이러한 파라미터를 제어합니다. 물리 머티리얼 에셋은 API에서 PhysicMaterial
클래스로 표현됩니다.
물리 머티리얼 에셋은 두 개의 프로퍼티를 제공합니다. Friction Combine(PhysicMaterial.frictionCombine
) 및 Bounce Combine(PhysicMaterial.bounceCombine
)입니다. 이러한 프로퍼티는 물리 시스템이 두 콜라이더 사이의 총 마찰과 탄성을 계산하는 방식을 제어하는 네 가지 옵션을 제공합니다.
Priority | 프로퍼티 | 설명 |
---|---|---|
1 | Maximum | 두 값 중 가장 큰 값을 사용합니다. |
2 | Multiply | 한 값의 합계에 다른 값을 곱한 값을 사용합니다. |
3 | Minimum | 두 값 중 가장 작은 값을 사용합니다. |
4 | Average | 두 값의 평균값, 즉 두 값의 합을 2로 나눈 값을 사용합니다. |
Friction Combine은 Dynamic Friction 및 Static Friction 모두에 적용됩니다.
표의 프로퍼티는 우선순위에 따라 나열되어 있습니다. 한 콜라이더 페어의 콜라이더에 결합 설정이 서로 다른 물리 머티리얼 에셋이 있는 경우 Unity는 우선순위를 고려합니다. 예를 들어 한 물리 머티리얼 에셋의 Friction Combine이 Average로 설정되어 있고 다른 물리 머티리얼 에셋의 Friction Combine이 Maximum으로 설정되어 있는 경우 Unity는 Maximum 계산을 사용합니다.
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.