PhysicsBody QML Type
所有具体实体的基本类型。更多
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: | |
| Inherited By: |
属性
- physicsMaterial : PhysicsMaterial
- simulationEnabled : bool
详细说明
物理体(PhysicsBody)是所有具有物理存在的物体的基本类型。这些物体与其他物体相互作用。有些类型不受模拟影响,例如StaticRigidBody :它们只影响其他物体。其他物体则完全受模拟影响。
另请参阅 " 形状 "和 "体 "概述文档。
属性文档
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.