# PhysicsShape.ContactManifold

> A contact manifold describes the contact points between colliding shapes. Speculative collision is used so some contact points may be separated, a property available per-contact.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEnumerable\<ManifoldPoint>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

```csharp
public readonly struct PhysicsShape.ContactManifold : IEnumerable<PhysicsShape.ContactManifold.ManifoldPoint>, IEnumerable
```

## Properties

| Property                                                                                                                         | Description                                                                         |
| -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [this\[\]](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/item.md)                               | Indexer to access the manifold points.                                              |
| [normal](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/normal.md)                               | The unit normal vector in world space, points from shape A to bodyB                 |
| [pointCount](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/pointcount.md)                       | The number of manifold points available, in the range \[0, 2].                      |
| [points](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/points.md)                               | The manifold points, up to two are possible.                                        |
| [rollingImpulse](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/rollingimpulse.md)               | Angular impulse applied for rolling resistance (N " m " s = kg \* m^2 / s).         |
| [speculativePointCount](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifold/speculativepointcount.md) | The number of manifold points available that are speculative, in the range \[0, 2]. |

## Structs

| Struct                                                                                                                                                 | Description                                                                                                                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PhysicsShape.ContactManifold.ManifoldPoint](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifoldmanifoldpoint.md)           | Contains all the detail related to the geometry and dynamics of the contact. You may use the [\_totalNormalImpulse](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifoldmanifoldpoint/totalnormalimpulse.md) to determine if there was an interaction during the time step. |
| [PhysicsShape.ContactManifold.ManifoldPointArray](/engine/6000.5/script-reference/unity/u2d/physics/physicsshape/contactmanifoldmanifoldpointarray.md) | Fixed-sized manifold point array.                                                                                                                                                                                                                                                                     |
