Caffeine Abuse - The Blog

Animating a cable using Softimage cloth

The project files used in this tutorial can be found at:
http://www.redi-vivus.com/Caffeineabuse/Cable_Using_SoftimageCloth.zip

CableAnimation_img011
Softimage Cloth
Start by open the scene cabel.scn from this issues CD. Select the Cable_Cloth object and press [T] to set the selection filter to points and select the two vertices at the right end of the object. From the Edit menu choose Create Cluster with Center. Press [4] to switch to the Simulate Toolbar. Select the Cable_Cloth object and from the Create > Cloth menu choose From Selection. Different types of cables obviously has different characteristics. Use the values in the above screenshot as a starting point and experiment on your own.

CableAnimation_img02

Local Cloth Cluster
Now, select the two vertices again and from the Create > Cloth menu choose Local Cloth Cluster. Make sure you check the Nail checkbox in the Cloth PPG. Select the object again and from the Get > Force menu choose Gravity. Select the Cable_Cloth again and from the Modify > Environment menu choose Set Obstacle. When prompted, pick the Floor object. Right click to end the picking session. In the Floor_obstacle PPG increase the friction to 0.8 or so to stop the cable from sliding all over the place. Set the Push length to 0.1 to compensate for the cableโ€™s thickness.
CableAnimation_img021

Extract from edge
Select all the edge along one side of the cloth object. Press [1] to switch back to the Model toolbar and from the Create > Curve menu choose Extract from Edges. This creates a separate curve object from the selected edges and because itโ€™s a live operator the cloth simulation will automatically be propagated as well. Name the curve Cable_Path. From the Primitive > Curve get a Circle and set the Radius to 0.05. From the Create > Poly.Mesh menu choose Extrusion Along Curve and pick the Cable_Path curve when prompted. Animate the Null object and your cable will follow perfectly.

6 Comments

  1. December 4, 2009

    Glad to see the blog is still alive ๐Ÿ™‚
    Great tutorial BTW

  2. December 23, 2009

    Still alive and kicking… ๐Ÿ™‚

    O

  3. January 2, 2010

    how do i get an authorization to download the file?

  4. January 4, 2010

    Hi Sasquatch70

    Send me an email and I’ll forward the file…

    O

  5. May 11, 2010

    Hi,

    I have been following all the steps but the cable wont follow the null, and if I use the final file and I modify the animation I get the same result… do I have to re-run the simulation every time I make a change from any menu?

    I am trying to simulate a telephone cable for an animation… Do you know if it would be possible with this method to have one extreme of the cable nailed to the handset and the other one to the telephone booth?

    I am no expert in xsi, sorry ๐Ÿ™‚
    Any help would be very appreciated

  6. August 12, 2010

    I like to fix things all the time, and i always have a lot of cables around me, around my house. But i believe they are very useful, like this blog. I liked it very much.

    buy viagra