# Sandbox.Collider.ComputePenetration

```csharp
bool ComputePenetration(Collider other, out Vector3 direction, out float distance)
```

Finds the smallest move needed to separate this collider from another, ignoring all collision rules.
Returns true if they're overlapping; moving this collider by `direction` *
`distance` pushes it clear.

### Parameters

- `other` (`Collider`)
- `out direction` (`Vector3`)
- `out distance` (`float`)

### Returns

`bool`

Declared in [Sandbox.Collider](/api/Sandbox.Collider).
Assembly: `Sandbox.Engine`.
