# Sandbox.PhysicsSimulationMode.Discrete

```csharp
static PhysicsSimulationMode Discrete
```

Discrete collision detection.
In this mode physics bodies can fly through thin walls when moving very quickly, but it is has better performance.

Declared in [Sandbox.PhysicsSimulationMode](/api/Sandbox.PhysicsSimulationMode).
Assembly: `Sandbox.Engine`.
