Version: 2019.2

ClothSphereColliderPairConstructor

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

Parameters

aThe first SphereCollider of a ClothSphereColliderPair.
bThe 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.