# PhysicsRelativeJoint

> Create a joint from a physics handle. NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.

## Definition

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

## PhysicsRelativeJoint(PhysicsHandle)

Create a joint from a physics handle.

NOTE: You must ensure that the physics handle represents the correct object type otherwise hard to detect bugs can occur.

```csharp
public PhysicsRelativeJoint(PhysicsHandle physicsHandle)
```

### Parameters

**** (\[PhysicsHandle]\(/engine/6000.6/script-reference/unity/u2d/physics/physicshandle)): The physics handle to use.

## PhysicsRelativeJoint(PhysicsJoint)

Create a [PhysicsRelativeJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsrelativejoint.md) from the specified base joint. The provided joint must be a joint type of [PhysicsJoint.JointType.RelativeJoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsjoint/jointtype/relativejoint.md).

```csharp
public PhysicsRelativeJoint(PhysicsJoint physicsJoint)
```

### Parameters

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