文档

Unity Engine

Unity Engine

sphereColliders

An array of ClothSphereColliderPairs which this Cloth instance should collide with.
阅读时间1 分钟最后更新于 20 天前

Definition

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

Remarks

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