# CreateBody

> Create a body using the _defaultDefinition in the world. See PhysicsBody.Create.

## Definition

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

## CreateBody()

Create a body using the [\_defaultDefinition](/engine/6000.6/script-reference/unity/u2d/physics/physicsbodydefinition/defaultdefinition.md) in the world. See [PhysicsBody.Create](/engine/6000.6/script-reference/unity/u2d/physics/physicsbody/create.md).

```csharp
public PhysicsBody CreateBody()
```

### Returns

| Type                                                                            | Description       |
| ------------------------------------------------------------------------------- | ----------------- |
| [PhysicsBody](/engine/6000.6/script-reference/unity/u2d/physics/physicsbody.md) | The created body. |

## CreateBody(PhysicsBodyDefinition)

Create a body in the world. See [PhysicsBody.Create](/engine/6000.6/script-reference/unity/u2d/physics/physicsbody/create.md).

```csharp
public PhysicsBody CreateBody(PhysicsBodyDefinition definition)
```

### Parameters

**** (\[PhysicsBodyDefinition]\(/engine/6000.6/script-reference/unity/u2d/physics/physicsbodydefinition)): The body definition to use.

### Returns

| Type                                                                            | Description       |
| ------------------------------------------------------------------------------- | ----------------- |
| [PhysicsBody](/engine/6000.6/script-reference/unity/u2d/physics/physicsbody.md) | The created body. |
