# Sandbox.PhysicsBody.AddHullShape

## Overload 1

```csharp
PhysicsShape AddHullShape(Vector3 position, Rotation rotation, List<Vector3> points, bool rebuildMass = True)
```

### Parameters

- `position` (`Vector3`)
- `rotation` (`Rotation`)
- `points` (`List<Vector3>`)
- `rebuildMass` (`bool`), default `True`

### Returns

`PhysicsShape`

## Overload 2

```csharp
PhysicsShape AddHullShape(Vector3 position, Rotation rotation, System.Span<Vector3> points, bool rebuildMass = True)
```

### Parameters

- `position` (`Vector3`)
- `rotation` (`Rotation`)
- `points` (`System.Span<Vector3>`)
- `rebuildMass` (`bool`), default `True`

### Returns

`PhysicsShape`

Declared in [Sandbox.PhysicsBody](/api/Sandbox.PhysicsBody).
Assembly: `Sandbox.Engine`.
