# implicit operator PhysicsJoint

> Cast to the base PhysicsJoint.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

## implicit operator PhysicsJoint(PhysicsJoin)

Cast to the base [PhysicsJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint.md).

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

### Parameters

**** (\[PhysicsFixedJoint]\(/engine/6000.6/script-reference/unity/u2d/physics/physicsfixedjoint)): The current joint.

### Returns

| Type                                                                              | Description |
| --------------------------------------------------------------------------------- | ----------- |
| [PhysicsJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint.md) |             |

## implicit operator PhysicsFixedJoint(PhysicsFixedJoin)

Cast to a [PhysicsFixedJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsfixedjoint.md) from the base [PhysicsJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint.md). The provided joint must be a joint type of [PhysicsJoint.JointType.FixedJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint/jointtype/fixedjoint.md).

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

### Parameters

**** (\[PhysicsJoint]\(/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint)): The base joint to cast.

### Returns

| Type                                                                                        | Description |
| ------------------------------------------------------------------------------------------- | ----------- |
| [PhysicsFixedJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsfixedjoint.md) |             |
