UnityEngine.ClothSphereColliderPair.ClothSphereColliderPair C# (CSharp) Method

ClothSphereColliderPair() public method

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.

public ClothSphereColliderPair ( SphereCollider a ) : System
a SphereCollider The first SphereCollider of a ClothSphereColliderPair.
return System
        public ClothSphereColliderPair(SphereCollider a)
        {
            this.m_First = null;
            this.m_Second = null;
            this.first = a;
            this.second = null;
        }

Same methods

ClothSphereColliderPair::ClothSphereColliderPair ( SphereCollider a, SphereCollider b ) : System
ClothSphereColliderPair