Qt Quick 3D Physics QML Types

Qt Quick 3D Physics provides the following QML types:

QtQuick3D Physics QML Types

Import the QtQuick3D.Physics module with the following statement:

import QtQuick3D.Physics

BoxShape

Defines a box collision shape

CapsuleShape

Defines a pill-like shape

CharacterController

Controls the motion of a character

CollisionShape

Base type for collision shapes

ConvexMeshShape

A convex collision shape based on a 3D mesh

DynamicRigidBody

A physical body that can move or be moved

HeightFieldShape

A collision shape where the elevation is defined by a height map

PhysicsBody

Base type for all concrete physical bodies

PhysicsMaterial

Defines the physics material of a body

PhysicsNode

Base type for all objects in the physics scene

PhysicsWorld

Controls the physics simulation

PlaneShape

A collision shape that defines an infinite plane

SphereShape

Defines a spherical collision shape

StaticRigidBody

A physical body that does not move

TriangleMeshShape

A collision shape based on a 3D mesh

TriggerBody

Reports when objects enter a given volume

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