Sur cette page

PhysicsJoint QML Type

Type de base pour les articulations. En savoir plus...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.12

Propriétés

Description détaillée

Il s'agit du type de base abstrait pour toutes les articulations.

Toutes les articulations comportent deux corps, et pour chaque corps, une position et une orientation de l'articulation par rapport à son repère local. Si l'un des corps n'est pas défini, l'articulation sera alors reliée au repère mondial.

Remarque : au moins l'un des corps doit être dynamique.

Voir également DistanceJoint, FixedJoint, PrismaticJoint, RevoluteJoint et SphericalJoint.

Documentation sur les propriétés

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

Cette propriété définit le premier des corps auxquels cette articulation est reliée.

Cette propriété a été introduite dans Qt 6.12.

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

Cette propriété définit le deuxième des corps auxquels cette articulation est reliée.

Cette propriété a été introduite dans Qt 6.12.

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

L'orientation de l'articulation par rapport à l'PhysicsJoint::bodyA.

Cette propriété a été introduite dans Qt 6.12.

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

L'orientation de l'articulation par rapport à l'PhysicsJoint::bodyB.

Cette propriété a été introduite dans Qt 6.12.

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

La position de l'articulation par rapport à PhysicsJoint::bodyA.

Cette propriété a été introduite dans Qt 6.12.

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

La position de l'articulation par rapport à PhysicsJoint::bodyB.

Cette propriété a été introduite dans 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.