Version: Unity 7.0 Alpha (7000.0)
Language : English
Attach custom data to 2D Physics Core objects
2D Physics Core preferences reference

Configure global 2D Physics Core settings

Note: This documentation is about using Pose, Area, and Constraint components. To use 2D physics in the Unity Editor using components like the Rigidbody 2D component, refer to 2D physics instead.

To configure global settings for 2D Physics Core, create and assign a Physics Core Settings 2D asset. Follow these steps:

  1. In the Project window, select Assets > Create > 2D > Physics (Core) > PhysicsCore Settings 2D.
  2. From the main menu, select Edit > Project Settings.
  3. In the Project Settings window, select Physics Core 2D.
  4. Drag the Physics Core Settings 2D asset from the Project window to the Physics Core Settings setting.

2D Physics Core now uses the settings in the asset.

Configure the settings

To display and edit the settings, in the Project Settings window, select Physics Core 2D > Settings. For a full list of settings, refer to Physics Core 2D reference.

For more information about configuring each section of the settings, refer to the following:

Additional resources

Attach custom data to 2D Physics Core objects
2D Physics Core preferences reference
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961