# PhysicsConstants

> Constants used throughout the 2D physics system.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public readonly struct PhysicsConstants
```

## Static Fields

| Value                                                                                                          | Description                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [MaxPolygonVertices](/engine/6000.5/script-reference/unity/u2d/physics/physicsconstants/maxpolygonvertices.md) | The maximum number of supported vertices in [PolygonGeometry](/engine/6000.5/script-reference/unity/u2d/physics/polygongeometry.md).              |
| [MaxWorkers](/engine/6000.5/script-reference/unity/u2d/physics/physicsconstants/maxworkers.md)                 | A constant defining the maximum number of worker threads supported by physics simulation. The current device may support fewer or more than this. |
