Game Development Reference
In-Depth Information
8.
Select the Cloth, and set the Interactive Cloth component's Stretching
Stiffness parameter to 0.5 .
9.
Click Play.
The cloth, attached only on each end, sags in the middle (Figure 3-35 ). The faces intersected by the
two attached colliders retain their original positions.
Figure 3-35. The cloth held by the two Hanger objects in Play mode
The cloth, like the Rigidbody objects, will not respond to Unity's Wind Zone. Like the Rigidbody
component, Interactive cloth has its own version in the External Acceleration and Random
Acceleration parameters. Both are world or global directions.
10.
While in Play mode, try adjusting the two acceleration parameters.
(Figure 3-36 ).
 
Search WWH ::




Custom Search