LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Physics.interCollisionDistance

public static float interCollisionDistance;

Description

Sets the minimum separation distance for cloth inter-collision.

Cloth particles closer than this distance that belong to different Cloth objects will be separated.