# CapsuleAndCapsule(CapsuleGeometry, PhysicsTransform, CapsuleGeometry, PhysicsTransform)

> Check the intersection between Capsule and Capsule geometries.

## Definition

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

```csharp
public static PhysicsShape.ContactManifold CapsuleAndCapsule(CapsuleGeometry geometryA, PhysicsTransform transformA, CapsuleGeometry geometryB, PhysicsTransform transformB)
```

### Parameters

**** (\[CapsuleGeometry]\(/engine/6000.7/script-reference/unity/u2d/physics/capsulegeometry)): The first geometry to use.**** (\[PhysicsTransform]\(/engine/6000.7/script-reference/unity/u2d/physics/physicstransform)): The transform used to specify where the first geometry is positioned.**** (\[CapsuleGeometry]\(/engine/6000.7/script-reference/unity/u2d/physics/capsulegeometry)): The second geometry to use.**** (\[PhysicsTransform]\(/engine/6000.7/script-reference/unity/u2d/physics/physicstransform)): The transform used to specify where the second geometry is positioned.

### Returns

| Type                                                                                                 | Description                                            |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [ContactManifold](/engine/6000.7/script-reference/unity/u2d/physics/physicsshape/contactmanifold.md) | The contact manifold fully detailing the intersection. |
