Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsConstants

Constants used throughout the 2D physics system.
Read time 1 minuteLast updated 8 days ago

Definition

public readonly struct PhysicsConstants

Static Fields

Value

Description

MaxPolygonVerticesThe maximum number of supported vertices in PolygonGeometry.
MaxWorkersA constant defining the maximum number of worker threads supported by physics simulation. The current device may support fewer or more than this.
MaxWorldsThe maximum number of simultaneous active PhysicsWorld allowed.