StaticRigidBody QML Type
不会移动的身体。更多
Import Statement: | import QtQuick3D.Physics |
Since: | Qt 6.4 |
Inherits: |
详细描述
静态刚体(StaticRigidBody)类型定义了一个不可移动的静态刚体。该刚体允许任何碰撞形状。
注意: 请勿移动静态刚体。技术上是可以这样做的,但这样做会影响性能,而且碰撞的动态物体可能无法做出正确反应。请使用DynamicRigidBody ,并将isKinematic 设置为true
。
© 2025 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.