DistanceJoint QML Type | Qt Quick 3D Physics | Qt 6.12.0
Description: A distance joint.
Keywords: qmltype

- Qt 6.12
- Qt Quick 3D Physics
- QML Types
- DistanceJoint
- Qt Quick 3D Physics | Commercial or GPLv3

# DistanceJoint QML Type

A distance joint. More...

Import Statement: | `import QtQuick3D.Physics`
Since: | Qt 6.12

- List of all members, including inherited members

## Properties

- maxDistance : real `(since 6.12)`
- minDistance : real `(since 6.12)`

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

This property was introduced in Qt 6.12.

### minDistance : real `[default: 0.0, since 6.12]`

The minimum distance of the joint constraint.

This property was introduced in Qt 6.12.