# CreateShape

> Create a Circle shape, using its default definition, attached to this body.

## Definition

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

## CreateShape(CircleGeometry)

Create a Circle shape, using its default definition, attached to this body.

```csharp
public PhysicsShape CreateShape(CircleGeometry geometry)
```

### Parameters

**** (\[CircleGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/circlegeometry)): The geometry to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(CircleGeometry, PhysicsShapeDefinition)

Create a Circle shape attached to this body.

```csharp
public PhysicsShape CreateShape(CircleGeometry geometry, PhysicsShapeDefinition definition)
```

### Parameters

**** (\[CircleGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/circlegeometry)): The geometry to use.**** (\[PhysicsShapeDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition)): The shape definition to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(PolygonGeometry)

Create a Polygon shape, using its default definition, attached to this body.

```csharp
public PhysicsShape CreateShape(PolygonGeometry geometry)
```

### Parameters

**** (\[PolygonGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry)): The geometry to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(PolygonGeometry, PhysicsShapeDefinition)

Create a Polygon shape attached to this body.

```csharp
public PhysicsShape CreateShape(PolygonGeometry geometry, PhysicsShapeDefinition definition)
```

### Parameters

**** (\[PolygonGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry)): The geometry to use.**** (\[PhysicsShapeDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition)): The shape definition to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(CapsuleGeometry)

Create a Capsule shape, using its default definition, attached to this body.

```csharp
public PhysicsShape CreateShape(CapsuleGeometry geometry)
```

### Parameters

**** (\[CapsuleGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/capsulegeometry)): The geometry to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(CapsuleGeometry, PhysicsShapeDefinition)

Create a Capsule shape attached to this body.

```csharp
public PhysicsShape CreateShape(CapsuleGeometry geometry, PhysicsShapeDefinition definition)
```

### Parameters

**** (\[CapsuleGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/capsulegeometry)): The geometry to use.**** (\[PhysicsShapeDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition)): The shape definition to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(SegmentGeometry)

Create a Segment shape, using its default definition, attached to this body.

```csharp
public PhysicsShape CreateShape(SegmentGeometry geometry)
```

### Parameters

**** (\[SegmentGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry)): The geometry to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(SegmentGeometry, PhysicsShapeDefinition)

Create a Segment shape attached to this body.

```csharp
public PhysicsShape CreateShape(SegmentGeometry geometry, PhysicsShapeDefinition definition)
```

### Parameters

**** (\[SegmentGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry)): The geometry to use.**** (\[PhysicsShapeDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition)): The shape definition to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(ChainSegmentGeometry)

Create a Chain Segment shape, using its default definition, attached to this body.

```csharp
public PhysicsShape CreateShape(ChainSegmentGeometry geometry)
```

### Parameters

**** (\[ChainSegmentGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chainsegmentgeometry)): The geometry to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |

## CreateShape(ChainSegmentGeometry, PhysicsShapeDefinition)

Create a Chain Segment shape attached to this body.

```csharp
public PhysicsShape CreateShape(ChainSegmentGeometry geometry, PhysicsShapeDefinition definition)
```

### Parameters

**** (\[ChainSegmentGeometry]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chainsegmentgeometry)): The geometry to use.**** (\[PhysicsShapeDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition)): The shape definition to use.

### Returns

| Type                                                                                          | Description        |
| --------------------------------------------------------------------------------------------- | ------------------ |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) | The created shape. |
