PhysicsBody QML Type
모든 구체적인 물리적 객체의 기본 유형입니다. 더 보기...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: | |
| Inherited By: |
속성
- physicsMaterial : PhysicsMaterial
- simulationEnabled : bool
상세 설명
PhysicsBody는 물리적 존재감을 가진 모든 객체의 기본 유형입니다. 이러한 객체들은 다른 바디와 상호작용합니다. StaticRigidBody 와 같은 일부 유형은 시뮬레이션의 영향을 받지 않으며, 오직 다른 바디에만 영향을 미칩니다. 다른 바디들은 시뮬레이션에 의해 완전히 제어됩니다.
Qt Quick 3D Physics 의 ‘도형, 바디 및 조인트’항목도 참조하십시오 .
속성 설명서
physicsMaterial : PhysicsMaterial
이 속성은 시뮬레이션에서 본체가 다른 본체와 충돌하거나 미끄러질 때 어떻게 동작할지 정의합니다.
참고: 이 속성은 현재 다른 값이 할당되지 않은 경우 기본값을 가진 ` PhysicsMaterial `을 포함하고 있지만, 향후 Qt 버전에서는 ` null `으로 기본 설정될 수 있으므로 이 속성이 null이 아니라고 가정하지 마십시오. 재질을 읽거나 수정하는 바디에는 명시적으로 ` PhysicsMaterial `을 할당하십시오.
PhysicsMaterial도 참조하십시오 .
simulationEnabled : bool
이 속성은 본체가 물리 시뮬레이션에 참여할지 여부를 정의합니다.
기본값: true
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.