Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sphereColliders

An array of ClothSphereColliderPairs which this Cloth instance should collide with.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClothModule
public ClothSphereColliderPair[] sphereColliders { get; set; }

Remarks

Any ClothSphereColliderPair specified in Cloth.capsuleColliders will collide with the cloth vertices. A maximum of 32 spheres are supported.