Version: Unity 6.3 LTS (6000.3)
Language : English
Destroy LowLevelPhysics2D API objects and manage memory
Configure LowLevelPhysics2D API objects with definitions

Configuring LowLevelPhysics2D API scenes

Configure properties such as gravity, friction, position, and shape on a world, body, or shape using the LowLevelPhysics2D API.

Note: This documentation is about writing C# scripts using the LowLevelPhysics2D API. To use 2D physics in the Unity Editor using components like the Rigidbody 2D component, refer to 2D physics instead.

Topic Description
Configure objects with definitions Create a definition object to configure properties such as gravity, friction, position, and shape.
Configure global LowLevelPhysics2D API settings To configure layers, default definition values, and global settings, create and assign a Physics Low Level Settings 2D asset.
Attach custom data to objects Attach values and physics masks to physics objects so you can fetch them later.

Additional resources

Destroy LowLevelPhysics2D API objects and manage memory
Configure LowLevelPhysics2D API objects with definitions