# implicit operator PhysicsJoint

> Cast to the base PhysicsJoint.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

## implicit operator PhysicsJoint(PhysicsJoin)

Cast to the base [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md).

```csharp
public static implicit operator PhysicsJoint(PhysicsRelativeJoint joint)
```

### Parameters

**** (\[PhysicsRelativeJoint]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejoint)): The current joint.

### Returns

| Type                                                                                          | Description |
| --------------------------------------------------------------------------------------------- | ----------- |
| [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md) |             |

## implicit operator PhysicsRelativeJoint(PhysicsRelativeJoin)

Cast to a [PhysicsRelativeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejoint.md) from the base [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md). The provided joint must be a joint type of [PhysicsJoint.JointType.RelativeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint/jointtype/relativejoint.md).

```csharp
public static implicit operator PhysicsRelativeJoint(PhysicsJoint joint)
```

### Parameters

**** (\[PhysicsJoint]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint)):&#x20;

### Returns

| Type                                                                                                          | Description |
| ------------------------------------------------------------------------------------------------------------- | ----------- |
| [PhysicsRelativeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejoint.md) |             |
