# CreateBody

> Create a body using the PhysicsBodyDefinition.defaultDefinition in the world. See PhysicsBody.Create.

## Definition

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

## CreateBody()

Create a body using the [PhysicsBodyDefinition.defaultDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbodydefinition/defaultdefinition.md) in the world. See [PhysicsBody.Create](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/create.md).

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

### Returns

| Type                                                                                        | Description       |
| ------------------------------------------------------------------------------------------- | ----------------- |
| [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) | The created body. |

## CreateBody(PhysicsBodyDefinition)

Create a body in the world. See [PhysicsBody.Create](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/create.md).

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

### Parameters

**** (\[PhysicsBodyDefinition]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbodydefinition)): The body definition to use.

### Returns

| Type                                                                                        | Description       |
| ------------------------------------------------------------------------------------------- | ----------------- |
| [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) | The created body. |
