Setting up the curtain scene
 
 
 

In these steps you model a 2D curtain rod from a plane and attach hair to it. Then you add and keyframe a sphere in the scene to later be used as a collision object.

To create the curtain using Hair

  1. To create a NURBS plane, select Create > NURBS Primitives > Plane, then click-drag in the scene to create a plane.

    (If you have previously shut off the interactive primitive creation option, simply click once in the scene to create the primitive at the origin.)

  2. Using the Scale Tool , resize the plane in the X direction as shown in the image below.

  3. With the plane selected, select Hair > Create Hair > , set the following options and then click Create Hairs:

    Hair is created and attached to the plane.

  4. Select the plane and, using the Rotate Tool , rotate the plane so the hair appears to be on the underside of the plane. Then, using the Move Tool , move the plane up the Y axis so the bottom of the hair just touches the ground plane, as shown in the following image. (Ensure you do not select the hair when selecting the plane.)

  5. Create a directional light ( Create > Lights > Directional Light) and do the following:
  6. Create a NURBS sphere ( Create > NURBS Primitives > Sphere) and move it along the Z-axis so it’s in front of the curtain.

  7. To set the start keyframe for the sphere, do the following:
  8. To set the keyframe for the sphere and move it through the curtain, as in the image below, do the following:
  9. Rewind the Time Slider to 0 and play the animation.

    The sphere passes through the curtain as though the curtain weren’t there. In the next steps you set the sphere as a collision object with the hair.