# Create(PhysicsWorld, PhysicsDistanceJointDefinition)

> Create a PhysicsDistanceJoint 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 PhysicsDistanceJoint Create(PhysicsWorld world, PhysicsDistanceJointDefinition definition)
```

### Parameters

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

### Returns

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