Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


capsuleColliders

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

Definition

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

Remarks

Any capsule colliders specified in Cloth.capsuleColliders will collide with the cloth vertices. A maximum of 32 capsules are supported.