Game Development Reference
In-Depth Information
Figure 3-32. The cloth crumpled on the ground; note the location of its transform
To attach an Interactive Cloth object to another gameObject or merely prevent it from falling, you must
use Attached Colliders as the connectors. The Flap object has a collider, so you can begin by using it.
1.
Select the Cloth Object.
2.
At the bottom of the Cloth component, click to open the Attached Colliders
array and set the Size to 1 .
3.
Open the new Element 0 (Figure 3-33 ).
Figure 3-33. The Cloth component's Attached Colliders parameters
 
Search WWH ::




Custom Search