Configure global Physics Core 2D API settings
To configure layers, default definition values, and global settings, create and assign a Physics Core Settings 2D asset.
Read time 1 minuteLast updated 13 days ago
To configure global settings for the Physics Core 2D API, create and assign a Physics Core Settings 2D asset. Follow these steps:
-
In the Project window, select Assets > Create > 2D > PhysicsCore Settings 2D.
-
From the main menu, select Edit >.Project Settings
?
-
In the Project Settings window, select PhysicsCore 2D.
-
Drag the Physics Core Settings 2D asset from the Project window to the PhysicsCore Settings setting.
The 2D physics system now uses the settings in the asset.
Configure the settings
To display and edit the settings, in the Project Settings window, select PhysicsCore 2D > Settings. For a full list of settings, refer to PhysicsCore 2D reference.
For more information about configuring each section of the settings, refer to the following:
- Configure collisions between Physics Core 2D API objects for using and editing the Layers tab settings.
- Configure Physics Core 2D API scenes with definitions for editing the Default Definitions tab settings.
- PhysicsCore 2D reference for editing the Global tab settings.