Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Cloth.capsuleColliders

Switch to Manual
public var capsuleColliders: CapsuleCollider[];

Description

An array of CapsuleColliders which this Cloth instance should collide with.

Any capsule colliders specified in Cloth.capsuleColliders will collide with the cloth vertices.