DistanceJoint QML Type

A distance joint. More...

Import Statement: import QtQuick3D.Physics
Since: Qt 6.12

Properties

Detailed Description

A distance joint that will keep the origins of the joint within the distance range specified by minDistance and maxDistance.

See also FixedJoint, PrismaticJoint, RevoluteJoint, and SphericalJoint.

Property Documentation

maxDistance : real [default: 0.0, since 6.12]

The maximum distance of the joint constraint. The constraint is only enforced when this value is greater than 0.0.

Range: [0, inf]

This property was introduced in Qt 6.12.

See also minDistance.

minDistance : real [default: 0.0, since 6.12]

The minimum distance of the joint constraint. The constraint is only enforced when this value is greater than 0.0.

Range: [0, inf]

This property was introduced in Qt 6.12.

See also maxDistance.