W3cubDocs

/Qt 6.9

StaticRigidBody QML Type

A physical body that does not move. More...

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

PhysicsBody

Detailed Description

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

Note: 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 set to true instead.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-qtquick3d-physics-staticrigidbody.html