# Body.createWedge

Creates a wedge attached to a body. The wedge is oriented with one 

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
body:createWedge( uuid, size, position, z-axis, x-axis, forceAccept? )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Body.md#createwedge)

**Availability:** Server only

cathetus along the Y-axis and the other along the Z-axis, forming a right angle. The wedge's 

rotation is controlled by z-axis and x-axis parameters, similar to standard part rotation.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `body` | [Body](../Game-Script-Environment/Userdata/Body.md) | The parent body. |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the shape. |
| `size` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's size. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local position. |
| `z-axis` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local z direction. |
| `x-axis` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's local x direction. |
| `forceAccept` *(optional)* | boolean | Set true to force the body to accept the shape. (Defaults to true) |
