# SphericalJoint

> Spherical joint only allows relative rotations of the two connected bodies.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
SphericalJoint = 3
```

### Remarks

This joint allows twist around the body's anchor X axis, and swing in the conical angle defined in parent's anchor Y and Z axes. It's similar to ConfigurableJoint but doesn't allow linear motion.
