Version: 2017.3

ClothSphereColliderPairConstructor

Switch to Manual
public ClothSphereColliderPair (SphereCollider a);
public ClothSphereColliderPair (SphereCollider a, SphereCollider b);

Parameters

a The first SphereCollider of a ClothSphereColliderPair.
b The second SphereCollider of a ClothSphereColliderPair.

Description

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.