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

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

This property was introduced in Qt 6.12.

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

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

This property was introduced in Qt 6.12.

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

Enable the cone limit constraint for the joint.

This property was introduced in Qt 6.12.