# Create(Vector2, Vector2, float)

> Create a Capsule.

## Definition

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

```csharp
public static CapsuleGeometry Create(Vector2 center1, Vector2 center2, float radius)
```

### Parameters

**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The first local center of the capsule end.**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The second local center of the capsule end.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The radius of the capsule.

### Returns

| Type                                                                                                | Description           |
| --------------------------------------------------------------------------------------------------- | --------------------- |
| [CapsuleGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/capsulegeometry.md) | The created geometry. |
