부력 이펙터 2D는 부력과 유체의 드래그 및 흐름과 같은 간단한 유체 동작을 정의할 수 있습니다. 또한 아래와 같은 유체 행동을 활용하여 유체 표면을 조정할 수 있습니다.
프로퍼티: | 기능: |
---|---|
Use Collider Mask | ‘콜라이더 마스크’ 프로퍼티를 활성화하려면 이 상자를 선택해야 합니다. 해당 프로퍼티가 활성화되지 않을 경우 글로벌 충돌 매트릭스가 모든 콜라이더 2Ds의 디폴트로 사용됩니다. |
Collider Mask | 이펙터와 상호작용할 특정 레이어를 선택하는 데 사용되는 마스크입니다. 옵션은 Use Collider Mask 를 선택한 경우에만 나타납니다. |
Surface Level | 부력 유체의 표면을 정의합니다. 게임 오브젝트가 이 선 위에 있으면 아무 부력도 적용되지 않습니다. 게임 오브젝트가 이 선에 걸쳐있거나 이 선 아래에 있을 경우 부력이 적용됩니다. 선은 월드 공간 오프셋에서 월드의 Y축을 따라 지정된 위치이지만, 오브젝트의 게임 오브젝트의 Transform 컴포넌트에 의해서도 스케일됩니다. |
Density | 유체의 밀도입니다. 밀도가 높은 콜라이더는 가라앉고, 밀도가 낮은 경우에는 플로트 됩니다. 밀도가 동일한 경우에는 유체 안에 위치합니다. |
Linear Drag | 게임 오브젝트의 이동에 영향을 주는 드래그 계수로, 유체에서만 적용됩니다. |
Angular Drag | 게임 오브젝트의 회전 운동에 영향을 주는 드래그 계수로, 유체 내에서만 적용됩니다. |
Flow Angle | 유체 흐름의 방향을 나타내는 월드 공간 앵글(단위:도)입니다. 유체 흐름은 특정 방향으로 부력을 적용합니다. |
Flow Magnitude | 유체 플로우의 힘의 “세기”를 나타냅니다. Fluid Angle 와 함께 유체 내의 게임 오브젝트에 적용되는 부력의 레벨을 지정합니다. Flow Angle 에 부력이 180도로 적용될 경우 규모는 음수가 될 수도 있습니다. |
Flow Variation | 유체 힘을 랜덤으로 바꿀 경우 이곳에 값을 입력해야 합니다. Fluid Magnitude 에 랜덤으로 값을 더하거나 뺄 수 있도록 양 또는 음의 배리에이션을 지정해야 합니다. |
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.