In questa pagina

PhysicsJoint QML Type

Tipo di base per i giunti. Altro...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.12

Proprietà

Descrizione dettagliata

Questo è il tipo base astratto per tutti i giunti.

Tutti i giunti hanno due corpi e, per ciascun corpo, una posizione e un orientamento del giunto rispetto al proprio sistema di coordinate locale. Se uno dei corpi non è specificato, il giunto sarà collegato al sistema di coordinate globale.

Nota: almeno uno dei corpi deve essere dinamico.

Vedi anche DistanceJoint, FixedJoint, PrismaticJoint, RevoluteJoint e SphericalJoint.

Documentazione sulle proprietà

bodyA : PhysicsBody* [default: null, since 6.12]

Questa proprietà definisce il primo dei corpi a cui questo giunto è collegato.

Questa proprietà è stata introdotta in Qt 6.12.

bodyB : PhysicsBody* [default: null, since 6.12]

Questa proprietà definisce il secondo dei corpi a cui questo giunto è collegato.

Questa proprietà è stata introdotta in Qt 6.12.

orientationA : quaternion [default: (1, 0, 0, 0), since 6.12]

L'orientamento del giunto rispetto a PhysicsJoint::bodyA.

Questa proprietà è stata introdotta in Qt 6.12.

orientationB : quaternion [default: (1, 0, 0, 0), since 6.12]

L'orientamento del giunto rispetto a PhysicsJoint::bodyB.

Questa proprietà è stata introdotta in Qt 6.12.

positionA : vector3d [default: (0, 0, 0), since 6.12]

La posizione dell'articolazione rispetto a PhysicsJoint::bodyA.

Questa proprietà è stata introdotta in Qt 6.12.

positionB : vector3d [default: (0, 0, 0), since 6.12]

La posizione dell'articolazione rispetto a PhysicsJoint::bodyB.

Questa proprietà è stata introdotta in Qt 6.12.

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