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

# SphericalJoint QML Type

A spherical joint. More...

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

- List of all members, including inherited members

## Properties

- coneLimitY : real `(since 6.12)`
- coneLimitZ : real `(since 6.12)`
- enableConeLimit : bool `(since 6.12)`

## Detailed Description

A spherical joint, also known as a ball-and-socket joint, keeps the origins together, but allows the orientations to vary freely.

See also DistanceJoint, FixedJoint, PrismaticJoint, and RevoluteJoint.

## Property Documentation

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

The y limit (in radians) of the joint's cone constraint.

Range: `(0, pi)`

This property was introduced in Qt 6.12.

See also coneLimitZ.

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

The z limit (in radians) of the joint's cone constraint.

Range: `(0, pi)`

This property was introduced in Qt 6.12.

See also coneLimitY.

### enableConeLimit : bool `[default: false, since 6.12]`

Enable the cone limit constraint for the joint.

This property was introduced in Qt 6.12.