# PhysicsConstants

> Constants used throughout the 2D physics system.

## Definition

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

```csharp
public readonly struct PhysicsConstants
```

## Static Fields

| Value                                                                                                          | Description                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [MaxPolygonVertices](/engine/6000.6/script-reference/unity/u2d/physics/physicsconstants/maxpolygonvertices.md) | The maximum number of supported vertices in [PolygonGeometry](/engine/6000.6/script-reference/unity/u2d/physics/polygongeometry.md).                                                                                                                             |
| [MaxWorkers](/engine/6000.6/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.                                                                                                                |
| [MaxWorldCapacity](/engine/6000.6/script-reference/unity/u2d/physics/physicsconstants/maxworldcapacity.md)     | The maximum number of [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) that can exist at one time. The world array grows on demand up to this ceiling, which is the limit of the 16-bit world index carried in physics handles. |
