# Create(PhysicsWorld, PhysicsRelativeJointDefinition)

> Create a PhysicsRelativeJoint in the specified world.

## Definition

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

```csharp
public static PhysicsRelativeJoint Create(PhysicsWorld world, PhysicsRelativeJointDefinition definition)
```

### Parameters

**** (\[PhysicsWorld]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsworld)): The world to create the joint in.**** (\[PhysicsRelativeJointDefinition]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsrelativejointdefinition)): The joint definition to use.

### Returns

| Type                                                                                              | Description        |
| ------------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsRelativeJoint](/engine/6000.5/script-reference/unity/u2d/physics/physicsrelativejoint.md) | The created joint. |
