Qt Quick 3D Physics provides a high-level API for physics simulation. It supports simulating interactive rigid bodies as well as static meshes and non-colliding bodies used for detecting overlaps. Every simulated body can have its own physical properties like mass, density and friction.
模塊的 QML 類型是可用的透過
QtQuick3D.Physics
導入。要使用類型,添加以下 import 語句到 .qml 文件:
import QtQuick3D.Physics
This a pure QML module and it does not have a C++ API.
The best way to see what Qt Quick 3D Physics can do is to check out the examples:
注意: There are API changes compared to the Tech Preview API (Qt version 6.4). See the Qt Quick 3D Physics API Changes from Tech Preview for the difference.
Qt Quick 3D Physics 在商業許可下是可用的來自 Qt 公司 。此外,它是可用的根據 GNU GPL (一般公共許可) 第 3 版 。見 Qt 許可 進一步瞭解細節。
Furthermore Qt Quick 3D Physics contains third party modules under the following permissive licenses:
| BSD 3 條款新 (或修訂) 許可 |