# PhysicsConstants

> Constants used throughout the 2D physics system.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public readonly struct PhysicsConstants
```

## Static Fields

| Value                                                                                                                      | Description                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [MaxPolygonVertices](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsconstants/maxpolygonvertices.md) | The maximum number of supported vertices in [PolygonGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry.md).  |
| [MaxWorkers](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/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. |
| [MaxWorlds](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsconstants/maxworlds.md)                   | The maximum number of simultaneous active [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) allowed.  |
