현실적인 물리 동작을 보이려면 게임의 오브젝트가 올바르게 가속화되며 충돌, 중력 및 다른 힘에 의해 영향을 받아야 합니다. Unity의 빌트인 물리 엔진은 물리 시뮬레이션을 담당하는 컴포넌트를 제공합니다. 몇 가지 파라미터 설정만으로 현실적인 방식으로 간접 행동하는 오브젝트를 생성할 수 있습니다(예: 충돌이나 낙하에 의해 움직이지만 스스로 움직이지는 않음). 스크립트에서 물리적 요소를 조절하여 차량, 기계 또는 천조각의 동역학을 오브젝트에 부여할 수 있습니다. 이 섹션에서는 Unity의 주요 물리 컴포넌트의 개요를 제공하며 추가 정보를 링크로 제공합니다.
참고: Unity에는 실제로 두 개의 별도 물리 엔진이 있습니다. 하나는 3D 물리 엔진이고 다른 하나는 2D 물리 엔진입니다. 두 엔진의 주요 개념은 동일하지만(3D의 경우 추가 차원이 존재한다는 점 제외) 두 엔진은 서로 다른 컴포넌트를 사용하여 실행됩니다. 예를 들어 3D 물리 엔진에는 Rigidbody 컴포넌트를 사용하고 2D 물리 엔진에는 이와 유사한 Rigidbody 2D 컴포넌트를 사용합니다.
관련 튜토리얼: 물리(Physics); 물리 베스트 프랙티스
문제 해결, 팁과 요령에 대한 내용은 기술 자료 물리 섹션을 참고하시기 바랍니다.
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.