InteractiveCloth.densityvar density : floatDescriptionThe density of the cloth. This sets the mass of the cloth per area. Must be greater than zero. Changing this property causes the cloth simulation to reset.
JavaScript
// This will simulate heavy cloth like "chain mail" using UnityEngine; import UnityEngine |
