StaticRigidBody QML Type

A physical body that does not move. 更多...

import 语句: import QtQuick3D.Physics
Since: Qt 6.4
继承:

PhysicsBody

详细描述

The StaticRigidBody type defines an immovable and static rigid body. Any collision shape is allowed for this body.

注意: Do not move a StaticRigidBody. It is technically possible to do so, but it will incur a performance penalty, and colliding dynamic objects may not react correctly. Use a DynamicRigidBody with isKinematic 设为 true 代替。