# ClothSphereColliderPair

> Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ClothModule

## ClothSphereColliderPair(SphereCollider)

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

```csharp
public ClothSphereColliderPair(SphereCollider a)
```

### Parameters

**** (\[SphereCollider]\(/engine/6000.0/script-reference/unityengine/spherecollider)): The first SphereCollider of a ClothSphereColliderPair.

## ClothSphereColliderPair(SphereCollider, SphereCollider)

Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two.

```csharp
public ClothSphereColliderPair(SphereCollider a, SphereCollider b)
```

### Parameters

**** (\[SphereCollider]\(/engine/6000.0/script-reference/unityengine/spherecollider)): The first SphereCollider of a ClothSphereColliderPair.**** (\[SphereCollider]\(/engine/6000.0/script-reference/unityengine/spherecollider)): The second SphereCollider of a ClothSphereColliderPair.
