# Create(PhysicsWorld, PhysicsDistanceJointDefinition)

> Create a PhysicsDistanceJoint in the specified world.

## Definition

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

```csharp
public static PhysicsDistanceJoint Create(PhysicsWorld world, PhysicsDistanceJointDefinition definition)
```

### Parameters

**** (\[PhysicsWorld]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld)): The world to create the joint in.**** (\[PhysicsDistanceJointDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdistancejointdefinition)): The joint definition to use.

### Returns

| Type                                                                                                          | Description        |
| ------------------------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsDistanceJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdistancejoint.md) | The created joint. |
