# Sandbox.CollisionSoundSystem.AddShapeCollision

## Overload 1

```csharp
void AddShapeCollision(PhysicsShape shape, Surface surface, in Vector3 position, float speed, bool networked)
```

Add a collision sound for this shape

### Parameters

- `shape` (`PhysicsShape`)
- `surface` (`Surface`)
- `in position` (`Vector3`)
- `speed` (`float`)
- `networked` (`bool`)

## Overload 2

```csharp
void AddShapeCollision(PhysicsShape shape, Surface surface, in PhysicsContact contact, bool networked)
```

### Parameters

- `shape` (`PhysicsShape`)
- `surface` (`Surface`)
- `in contact` (`PhysicsContact`)
- `networked` (`bool`)

Declared in [Sandbox.CollisionSoundSystem](/api/Sandbox.CollisionSoundSystem).
Assembly: `Sandbox.Engine`.
