# Sandbox.PhysicsBody.AddCylinderShape

```csharp
PhysicsShape AddCylinderShape(Vector3 position, Rotation rotation, float height, float radius, int slices = 16)
```

Add a cylinder shape to this body.

### Parameters

- `position` (`Vector3`)
- `rotation` (`Rotation`)
- `height` (`float`)
- `radius` (`float`)
- `slices` (`int`), default `16`

### Returns

`PhysicsShape`

Declared in [Sandbox.PhysicsBody](/api/Sandbox.PhysicsBody).
Assembly: `Sandbox.Engine`.
