Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Cloth.selfCollision

Switch to Manual
public var selfCollision: bool;

Description

Will the cloth collide with itself?

Enable this only where needed, as it has a big impact on cloth performance.

	GetComponent(InteractiveCloth).selfCollision = false;