Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • 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.
public ClothSphereColliderPair(SphereCollider a)

Parameters

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.
public ClothSphereColliderPair(SphereCollider a, SphereCollider b)

Parameters

The first SphereCollider of a ClothSphereColliderPair.

The second SphereCollider of a ClothSphereColliderPair.