本页内容

PlaneShape QML Type

一个定义无限平面的碰撞形状。更多...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.4
Inherits:

CollisionShape

详细描述

PlaneShape 类型定义了一个无限平面。该平面将空间划分为其“上方”和“下方”。 位于该平面“下方”的所有物体都会与之发生碰撞,并被推至其上方。该平面的方向为垂直方向:平面位于 XY 平面上,“上方”朝向正 Z 轴方向。

PlaneShape 只能与StaticRigidBody 和kinematic bodies 配合使用。

© 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.