PlaneShape QML Type
定义无限平面的碰撞形状。更多
Import Statement: | import QtQuick3D.Physics |
Since: | Qt 6.4 |
Inherits: |
详细说明
PlaneShape 类型定义了一个无限平面。平面将空间分为 "上方 "和 "下方"。在平面 "下方 "的所有物体都会与平面发生碰撞,并被推到平面上方。平面的方向是垂直的:平面位于 XY 平面上,"上方 "指向正 Z 方向。
PlaneShape 只能与StaticRigidBody 和kinematic bodies 一起使用。
© 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.