How far attached rigid bodies need to be stretched, before they will tear off.
transform.GetComponent(InteractiveCloth).attachmentTearFactor = 10;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { transform.GetComponent<InteractiveCloth>().attachmentTearFactor = 10; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: transform.GetComponent[of InteractiveCloth]().attachmentTearFactor = 10