# PhysicsSpace.ShapeSpace

> Query a PhysicsSpace assuming the PhysicsSpace.ProxyHandle are all PhysicsShape.

## Definition

* **Type:** Class
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public static class PhysicsSpace.ShapeSpace
```

## Static Methods

| Method                                                                                                    | Description                                                                                                                                                                                                                                                                                    |
| --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CastRay](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/shapespace/castray.md)           | Find [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) that intersect the specified ray. The results indicate [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) that intersect the specified ray, in ascending order.          |
| [CastShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/shapespace/castshape.md)       | Find [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) that intersect the specified shape. The results indicate [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) that intersect the specified cast shape, in ascending order. |
| [OverlapAABB](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/shapespace/overlapaabb.md)   | Find [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) whose AABB overlap the specified AABB. The results indicate [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) AABB overlap the specified AABB, in no specific order.    |
| [OverlapPoint](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/shapespace/overlappoint.md) | Find [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) that overlap the specified point. The results indicate [PhysicsShape](/engine/6000.6/script-reference/unity/u2d/physics/physicsshape.md) overlap the specified point, in no specific order.             |
