---
title: UnityEngine.Physics2DModule
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/modules/unityengine-physics2dmodule
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-physics2dmodule.md
last_updated: 2026-12-04
generated_at: 2026-12-04T07:14:11.603Z
locale: en-us
---

# UnityEngine.Physics2DModule

> The Physics2d module implements 2D physics in Unity.

## Definition

* **Type:** Module

## Classes

| Class                                                                                                                   | Description                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AnchoredJoint2D](/engine/6000.3/script-reference/unityengine/anchoredjoint2d.md)                                       | Parent class for all joints that have anchor points.                                                                                                                                                                                                                                                                 |
| [AreaEffector2D](/engine/6000.3/script-reference/unityengine/areaeffector2d.md)                                         | Applies forces within an area.                                                                                                                                                                                                                                                                                       |
| [BoxCollider2D](/engine/6000.3/script-reference/unityengine/boxcollider2d.md)                                           | Collider for 2D physics representing an axis-aligned rectangle.                                                                                                                                                                                                                                                      |
| [BuoyancyEffector2D](/engine/6000.3/script-reference/unityengine/buoyancyeffector2d.md)                                 | Applies forces to simulate buoyancy, fluid-flow and fluid damping.                                                                                                                                                                                                                                                   |
| [CapsuleCollider2D](/engine/6000.3/script-reference/unityengine/capsulecollider2d.md)                                   | A capsule-shaped primitive collider.                                                                                                                                                                                                                                                                                 |
| [CircleCollider2D](/engine/6000.3/script-reference/unityengine/circlecollider2d.md)                                     | Collider for 2D physics representing an circle.                                                                                                                                                                                                                                                                      |
| [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md)                                                 | The parent class for collider types used with 2D gameplay. Provides methods to defines the shape and physical behavior for 2D object interactions, used to detect collisions, and trigger events in 2D game environments.                                                                                            |
| [Collision2D](/engine/6000.3/script-reference/unityengine/collision2d.md)                                               | Collision details returned by 2D physics callback functions.                                                                                                                                                                                                                                                         |
| [CompositeCollider2D](/engine/6000.3/script-reference/unityengine/compositecollider2d.md)                               | A Collider that can merge other Colliders together.                                                                                                                                                                                                                                                                  |
| [ConstantForce2D](/engine/6000.3/script-reference/unityengine/constantforce2d.md)                                       | Applies both linear and angular (torque) forces continuously to the rigidbody each physics update.                                                                                                                                                                                                                   |
| [CustomCollider2D](/engine/6000.3/script-reference/unityengine/customcollider2d.md)                                     | Represents a [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md) that is configured by assigning [PhysicsShape2D](/engine/6000.3/script-reference/unityengine/physicsshape2d.md) geometry to it via a [PhysicsShapeGroup2D](/engine/6000.3/script-reference/unityengine/physicsshapegroup2d.md). |
| [DistanceJoint2D](/engine/6000.3/script-reference/unityengine/distancejoint2d.md)                                       | Joint that keeps two Rigidbody2D objects a fixed distance apart.                                                                                                                                                                                                                                                     |
| [EdgeCollider2D](/engine/6000.3/script-reference/unityengine/edgecollider2d.md)                                         | Collider for 2D physics representing an arbitrary set of connected edges (lines) defined by its vertices.                                                                                                                                                                                                            |
| [Effector2D](/engine/6000.3/script-reference/unityengine/effector2d.md)                                                 | A base class for all 2D effectors.                                                                                                                                                                                                                                                                                   |
| [FixedJoint2D](/engine/6000.3/script-reference/unityengine/fixedjoint2d.md)                                             | Connects two [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) together at their anchor points using a configurable spring.                                                                                                                                                                  |
| [FrictionJoint2D](/engine/6000.3/script-reference/unityengine/frictionjoint2d.md)                                       | Applies both force and torque to reduce both the linear and angular velocities to zero.                                                                                                                                                                                                                              |
| [HingeJoint2D](/engine/6000.3/script-reference/unityengine/hingejoint2d.md)                                             | Joint that allows a Rigidbody2D object to rotate around a point in space or a point on another object.                                                                                                                                                                                                               |
| [Joint2D](/engine/6000.3/script-reference/unityengine/joint2d.md)                                                       | Parent class for joints to connect Rigidbody2D objects.                                                                                                                                                                                                                                                              |
| [Physics2D](/engine/6000.3/script-reference/unityengine/physics2d.md)                                                   | Provides utilities and global settings to manage and simulate 2D physics interactions, such as collision detection and raycasting.                                                                                                                                                                                   |
| [PhysicsLowLevelSettings2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslowlevelsettings2d.md) | Physics LowLevel Settings Asset. This contains all the global physics options along with the default values for the following definitions:                                                                                                                                                                           |
| [PhysicsMaterial2D](/engine/6000.3/script-reference/unityengine/physicsmaterial2d.md)                                   | Asset type that defines the surface properties of a [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md).                                                                                                                                                                                         |
| [PhysicsSceneExtensions2D](/engine/6000.3/script-reference/unityengine/physicssceneextensions2d.md)                     | Scene extensions to access the underlying physics scene.                                                                                                                                                                                                                                                             |
| [PhysicsShapeGroup2D](/engine/6000.3/script-reference/unityengine/physicsshapegroup2d.md)                               | Represents a group of [PhysicsShape2D](/engine/6000.3/script-reference/unityengine/physicsshape2d.md) and their geometry.                                                                                                                                                                                            |
| [PhysicsUpdateBehaviour2D](/engine/6000.3/script-reference/unityengine/physicsupdatebehaviour2d.md)                     | A base type for 2D physics components that required a callback during FixedUpdate.                                                                                                                                                                                                                                   |
| [PlatformEffector2D](/engine/6000.3/script-reference/unityengine/platformeffector2d.md)                                 | Applies "platform" behaviour such as one-way collisions etc.                                                                                                                                                                                                                                                         |
| [PointEffector2D](/engine/6000.3/script-reference/unityengine/pointeffector2d.md)                                       | Applies forces to attract/repulse against a point.                                                                                                                                                                                                                                                                   |
| [PolygonCollider2D](/engine/6000.3/script-reference/unityengine/polygoncollider2d.md)                                   | Collider for 2D physics representing an arbitrary polygon defined by its vertices.                                                                                                                                                                                                                                   |
| [RelativeJoint2D](/engine/6000.3/script-reference/unityengine/relativejoint2d.md)                                       | Keeps two [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) at their relative orientations.                                                                                                                                                                                                  |
| [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md)                                               | Provides physics movement and other dynamics, and the ability to attach [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md) to it.                                                                                                                                                               |
| [SliderJoint2D](/engine/6000.3/script-reference/unityengine/sliderjoint2d.md)                                           | Joint that restricts the motion of a [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) object to a single line.                                                                                                                                                                              |
| [SpringJoint2D](/engine/6000.3/script-reference/unityengine/springjoint2d.md)                                           | Joint that attempts to keep two [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) objects a set distance apart by applying a force between them.                                                                                                                                             |
| [SurfaceEffector2D](/engine/6000.3/script-reference/unityengine/surfaceeffector2d.md)                                   | Applies tangent forces along the surfaces of colliders.                                                                                                                                                                                                                                                              |
| [TargetJoint2D](/engine/6000.3/script-reference/unityengine/targetjoint2d.md)                                           | The joint attempts to move a [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) to a specific target position.                                                                                                                                                                                |
| [WheelJoint2D](/engine/6000.3/script-reference/unityengine/wheeljoint2d.md)                                             | The wheel joint allows the simulation of wheels by providing a constraining suspension motion with an optional motor.                                                                                                                                                                                                |

## Structs

| Struct                                                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CapsuleGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/capsulegeometry.md)                               | The geometry of a closed capsule which can be viewed as two semi-circles connected by a rectangle. See [PhysicsBody.CreateShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createshape.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [ChainGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chaingeometry.md)                                   | The geometry of a chain of ChainSegment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [ChainSegmentGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chainsegmentgeometry.md)                     | The geometry of a chain line segment with one-sided collision which only collides on the "right" side. Several of these are generated for a chain, connected as ghost1 -> point1 -> point2 -> ghost2.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [CircleGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/circlegeometry.md)                                 | The geometry of a closed circle. See [PhysicsBody.CreateShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createshape.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [ColliderDistance2D](/engine/6000.3/script-reference/unityengine/colliderdistance2d.md)                                           | Represents the separation or overlap of two [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [ContactFilter2D](/engine/6000.3/script-reference/unityengine/contactfilter2d.md)                                                 | A set of parameters for filtering contact results. Define the angle by referring to their position in world space, where 0 degrees is parallel to the positive x-axis, 90 degrees is parallel to the positive y-axis, 180 degrees is parallel to the negative x-axis, and 270 degrees is parallel to the negative y-axis.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [ContactPoint2D](/engine/6000.3/script-reference/unityengine/contactpoint2d.md)                                                   | Details about a specific point of contact involved in a 2D physics collision.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [JointAngleLimits2D](/engine/6000.3/script-reference/unityengine/jointanglelimits2d.md)                                           | Angular limits on the rotation of a Rigidbody2D object around a HingeJoint2D.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [JointMotor2D](/engine/6000.3/script-reference/unityengine/jointmotor2d.md)                                                       | Parameters for the optional motor force applied to a Joint2D.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [JointSuspension2D](/engine/6000.3/script-reference/unityengine/jointsuspension2d.md)                                             | Joint suspension is used to define how suspension works on a [WheelJoint2D](/engine/6000.3/script-reference/unityengine/wheeljoint2d.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [JointTranslationLimits2D](/engine/6000.3/script-reference/unityengine/jointtranslationlimits2d.md)                               | Motion limits of a Rigidbody2D object along a SliderJoint2D.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [PhysicsAABB](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsaabb.md)                                       | Represents a 2D axis-aligned bounding-box.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md)                                       | A body is contained within a world and has 3 degrees-of-freedom, two for position and one for rotation. A body can have forces, torques and impulses applied to it. A body has three distinct types:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [PhysicsBodyDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbodydefinition.md)                   | A [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md) definition used to specify important initial properties.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [PhysicsCallbacks](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicscallbacks.md)                             | Callback targets for object events.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [PhysicsChain](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicschain.md)                                     | A dedicated shape that produces a chain of shapes connected together to produce a continuous surface. Chain shapes provide a smooth, continuous surface that will not produce "ghost" collisions. A [PhysicsChain](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicschain.md) is automatically destroyed when the body it is in is destroyed. A [PhysicsChain](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicschain.md)  cannot exist unattached from a body.                                                                                                                                                                                                                                                                                                                                               |
| [PhysicsChainDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicschaindefinition.md)                 | A [PhysicsChain](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicschain.md) definition used to specify the chain of vertices that will produce multiple [ChainSegmentGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/chainsegmentgeometry.md) shape types. Additionally, non-geometric properties can be specified here.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [PhysicsComposer](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicscomposer.md)                               | Provides the ability to compose geometry using specific operations on layers in a specific order.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [PhysicsConstants](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsconstants.md)                             | Constants used throughout the 2D physics system.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [PhysicsDestructor](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdestructor.md)                           | Provides the ability to destruct (fragment and Slice) geometry.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PhysicsDistanceJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdistancejoint.md)                     | Connects an anchor point on body A with an anchor point on body B via a line segment of a specified distance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [PhysicsDistanceJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdistancejointdefinition.md) | A joint definition used to specify properties when creating a [PhysicsDistanceJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsdistancejoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [PhysicsEvents](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsevents.md)                                   | Various events that can be retrieved during and after the simulation has completed. See [PhysicsWorld.Simulate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/simulate.md) and [PhysicsWorld.Simulate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/simulate.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [PhysicsFixedJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsfixedjoint.md)                           | A joint to constrain a pair of bodies together rigidly. This constraint provides springs to mimic soft-body simulation. The approximate solver cannot always hold many bodies together completely rigidly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [PhysicsFixedJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsfixedjointdefinition.md)       | A joint definition used to specify properties when creating a [PhysicsFixedJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsfixedjoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [PhysicsHingeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicshingejoint.md)                           | A joint where an anchor point on body B is fixed to an anchor point on body A. This joint allows relative rotation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [PhysicsHingeJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicshingejointdefinition.md)       | A joint definition used to specify properties when creating a [PhysicsHingeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicshingejoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [PhysicsIgnoreJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsignorejoint.md)                         | A joint used to ignore collision between two specific bodies. As a side effect of being a joint, it also keeps the two bodies in the same simulation island meaning they'll wake/sleep at the same time and be solved together on the same thread.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [PhysicsIgnoreJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsignorejointdefinition.md)     | A joint definition used to specify properties when creating a [PhysicsIgnoreJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsignorejoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PhysicsJobOptions2D](/engine/6000.3/script-reference/unityengine/physicsjoboptions2d.md)                                         | A set of options that control how physics operates when using the job system to multithread the physics simulation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md)                                     | A joint is used to constrain bodies to the world or to each other in various ways. A joint is automatically destroyed when either body it is attached to is destroyed. A joint cannot exist unattached from a body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [PhysicsLayers](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslayers.md)                                   | This provides a common method to retrieving layer information. If a [PhysicsLowLevelSettings2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslowlevelsettings2d.md) asset is assigned then the full layers ([PhysicsLowLevelSettings2D.physicsLayerNames](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslowlevelsettings2d/physicslayernames.md)) will be used if [PhysicsLowLevelSettings2D.useFullLayers](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslowlevelsettings2d/usefulllayers.md) is also active. If no [PhysicsLowLevelSettings2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicslowlevelsettings2d.md) asset is assigned then the global layers (See [LayerMask](/engine/6000.3/script-reference/unityengine/layermask.md)) will be used. |
| [PhysicsMask](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsmask.md)                                       | A 64-bit mask, effectively 64 flags. The default enumerator will iterate all the bits that are set (1).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [PhysicsMath](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsmath.md)                                       | A set of mathematical operations that are useful for physics. These operations do not form a fully comprehensive mathematics library, they simply provide operations that are usually required when interacting with physics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [PhysicsPlane](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsplane.md)                                     | Represents a 2D plane.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [PhysicsQuery](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsquery.md)                                     | Various physics queries.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PhysicsRelativeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejoint.md)                     | A joint constraint used to control the relative movement two bodies while still being responsive to collisions. A spring controls the position and rotation and velocity control allows for simulated friction such as seen in top-down games. A typical usage is to control the movement of a dynamic body with respect to the ground.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [PhysicsRelativeJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejointdefinition.md) | A joint definition used to specify properties when creating a [PhysicsRelativeJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrelativejoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [PhysicsRotate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrotate.md)                                   | Represents a 2D rotation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [PhysicsScene2D](/engine/6000.3/script-reference/unityengine/physicsscene2d.md)                                                   | Represents a single instance of a 2D physics Scene.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md)                                     | A shape is attached to a body and defines an area to which two distinct types of behaviour are handled:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [PhysicsShape2D](/engine/6000.3/script-reference/unityengine/physicsshape2d.md)                                                   | Represents an efficient low-level physics shape used by the physics engine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [PhysicsShapeDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshapedefinition.md)                 | A [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md) definition used to specify important initial properties.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PhysicsSliderJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjoint.md)                         | A joint that requires defining a line of motion defined by the local anchor A. Body B may slide along the axis defined by the local anchor A. Body B cannot rotate relative to body A. The joint translation is zero when the local anchor origins coincide in world space. The joint uses local anchors so that the initial configuration can violate the constraint slightly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [PhysicsSliderJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjointdefinition.md)     | A joint definition used to specify properties when creating a [PhysicsSliderJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicssliderjoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PhysicsTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform.md)                             | Represents a 2D transformation combining a translation and a [PhysicsRotate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrotate.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [PhysicsUserData](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsuserdata.md)                               | Custom user data. The physics system doesn't use this data, it is entirely for custom use.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [PhysicsWheelJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicswheeljoint.md)                           | A joint that requires defining a line of motion using an axis and an anchor point. The joint translation is zero when the local anchors coincide in world space. The joint uses local anchors so that the initial configuration can violate the constraint slightly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [PhysicsWheelJointDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicswheeljointdefinition.md)       | A joint definition used to specify properties when creating a [PhysicsWheelJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicswheeljoint.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md)                                     | A world is a container for all other physics objects such as [PhysicsBody](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody.md), [PhysicsShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsshape.md), [PhysicsJoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsjoint.md) etc. A world can be simulated in isolation from all other worlds. The maximum number of worlds that can be created at one time is defined by [PhysicsConstants.MaxWorlds](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsconstants/maxworlds.md). A world is completely isolated from all other worlds.                                                                                                                                                                  |
| [PhysicsWorldDefinition](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworlddefinition.md)                 | A [PhysicsWorld](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld.md) definition used to specify important initial properties.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PolygonGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/polygongeometry.md)                               | The geometry of a closed convex polygon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [RaycastHit2D](/engine/6000.3/script-reference/unityengine/raycasthit2d.md)                                                       | Returns information about 2D Colliders detected by a 2D physics query in the scene.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [SegmentGeometry](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/segmentgeometry.md)                               | The geometry of a line segment. See [PhysicsBody.CreateShape](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsbody/createshape.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

## Enums

| Enum                                                                                                | Description                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CapsuleDirection2D](/engine/6000.3/script-reference/unityengine/capsuledirection2d.md)             | The direction that the capsule sides can extend.                                                                                                                                                                                             |
| [ColliderErrorState2D](/engine/6000.3/script-reference/unityengine/collidererrorstate2d.md)         | Indicates what (if any) error was encountered when creating a 2D Collider.                                                                                                                                                                   |
| [CollisionDetectionMode2D](/engine/6000.3/script-reference/unityengine/collisiondetectionmode2d.md) | Controls how collisions are detected when a [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md) moves.                                                                                                                 |
| [EffectorForceMode2D](/engine/6000.3/script-reference/unityengine/effectorforcemode2d.md)           | The mode used to apply [Effector2D](/engine/6000.3/script-reference/unityengine/effector2d.md) forces.                                                                                                                                       |
| [EffectorSelection2D](/engine/6000.3/script-reference/unityengine/effectorselection2d.md)           | Selects the source and/or target to be used by an [Effector2D](/engine/6000.3/script-reference/unityengine/effector2d.md).                                                                                                                   |
| [ForceMode2D](/engine/6000.3/script-reference/unityengine/forcemode2d.md)                           | Option for how to apply a force using [Rigidbody2D.AddForce](/engine/6000.3/script-reference/unityengine/rigidbody2d/addforce.md).                                                                                                           |
| [JointBreakAction2D](/engine/6000.3/script-reference/unityengine/jointbreakaction2d.md)             | Options for selecting which action to take when a [Joint2D](/engine/6000.3/script-reference/unityengine/joint2d.md) breaks.                                                                                                                  |
| [JointLimitState2D](/engine/6000.3/script-reference/unityengine/jointlimitstate2d.md)               | Represents the state of a joint limit.                                                                                                                                                                                                       |
| [PhysicsMaterialCombine2D](/engine/6000.3/script-reference/unityengine/physicsmaterialcombine2d.md) | Describes how [PhysicsMaterial2D](/engine/6000.3/script-reference/unityengine/physicsmaterial2d.md) friction and bounciness are combined when two [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md) come into contact. |
| [PhysicsShapeType2D](/engine/6000.3/script-reference/unityengine/physicsshapetype2d.md)             | Options for indicate which primitive shape type is used to interpret geometry contained within a [PhysicsShape2D](/engine/6000.3/script-reference/unityengine/physicsshape2d.md) object.                                                     |
| [RigidbodyConstraints2D](/engine/6000.3/script-reference/unityengine/rigidbodyconstraints2d.md)     | Use these flags to constrain motion of a Rigidbody2D.                                                                                                                                                                                        |
| [RigidbodyInterpolation2D](/engine/6000.3/script-reference/unityengine/rigidbodyinterpolation2d.md) | Interpolation mode for Rigidbody2D objects.                                                                                                                                                                                                  |
| [RigidbodySleepMode2D](/engine/6000.3/script-reference/unityengine/rigidbodysleepmode2d.md)         | Settings for a Rigidbody2D's initial sleep state.                                                                                                                                                                                            |
| [RigidbodyType2D](/engine/6000.3/script-reference/unityengine/rigidbodytype2d.md)                   | The physical behaviour type of the [Rigidbody2D](/engine/6000.3/script-reference/unityengine/rigidbody2d.md).                                                                                                                                |
| [SimulationMode2D](/engine/6000.3/script-reference/unityengine/simulationmode2d.md)                 | A selection of modes that control when Unity executes the 2D physics simulation.                                                                                                                                                             |
