Fix playback problems
 
 
 

This section explains solutions to a few problems you might have when using springs:

The springs expand and contract excessively

You can often fix excessive spring expansion and contraction by increasing oversampling of dynamic calculations. Increasing the oversampling slows down playback but increases the stability of the springs.

Do these steps to increase oversampling:

  1. Select Solvers > Edit Oversampling or Cache Settings.

    This displays the Attribute Editor.

  2. Enter a value for Over Samples.
    TipIncreasing the oversampling intensifies the attractive force of goals. If you increase the oversampling in a scene that contains goals, you can compensate by decreasing the goal weights, if necessary.

    In some instances, Maya uses an Over Samples rate that is higher than the value you enter. This is necessary for internal computations.

Springs don't move the particles, CVs, vertices, or points

Either no force is acting on the particles or the Per-spring Rest Length is turned on but you didn’t set any values for it. By default, each spring’s rest length equals its original length. It won’t move unless an external force is applied to it.

To make the springs take effect, do the appropriate action that follows:

  1. Animate the object, for example, with a field.
  2. Use the Component Editor to alter Per-spring restLength. See Edit per spring rest length, stiffness, and damping.
  3. Change to per object rest length.
  4. If the springs are on particles and you broke the default connection from time to the particle shape node’s Current Time attribute, reconnect the input to Current Time. A simple way to reconnect the time input is to select the particle object, select the Current Time attribute in the Channel Box, then select Particles > Connect to Time.

An animation with many springs plays slowly

If the age of any or all particles exceeds the lifespan, Maya removes the particles from the object. For brevity, we describe such particles as dying particles. If a scene has a particle object with many springs and no dying particles, the animation plays needlessly slow because of complex calculations. You can turn off the attribute Manage Particle Death to eliminate the calculations and enhance the playback efficiency.

In short, it’s helpful to turn off Manage Particle Death for the spring object associated with the following objects if they have undying particles:

Do not turn off Manage Particle Death if any particles in the object die. Springs attached to the particles won’t work correctly. This is true if particles have ever died in the object. If you set current attribute values of the particles for initial state operation at a point where no more particles die, you still must not turn off Manage Particle Death.

To turn off Manage Particle Death, select the spring object and display the Attribute Editor. Turn off the Manage Particle Death attribute in the Spring Attributes section.

You edit per spring attributes but the editing doesn't take effect

You might have turned off Per-spring Stiffness, Per-spring Damping, or Per-spring Rest Length, which means Maya uses the per object counterpart attribute instead. Turn on the appropriate Use attribute.

A polygonal or NURBS soft body with springs slows playback and has unrealistic spring behavior

If you put springs on a polygonal soft body or a NURBS soft body with many vertices (and particles), your animation will play slowly and the springs might contract and expand unrealistically.

To avoid this problem, put springs on a low-resolution copy of the object as follows:

  1. Duplicate the polygonal (or NURBS object) with default options.

    Note that copy must exist at the same locations as the original for the entire animation.

  2. Decrease the surface resolution of the object to roughly 10-50% of its original resolution.

    For a polygonal object, decrease the Subdivisions X and Y values. For a NURBS object, decrease the Spans and Sections values.

    In the remaining steps, the original object is called the low-resolution object, and the copy is called the high-resolution object.

  3. Make the low-resolution object a soft body with default options.
  4. Select the soft body’s particles and connect them to the desired dynamics.

    For example, connect the particles to gravity and make them collide with another object.

  5. Create springs on the soft body particles with default options.
  6. Tune the appearance of the soft body animation.

    You’ll likely need to set spring Stiffness to over 100. You’ll also likely need to select Solvers > Edit Oversampling or Cache Settings and set Over Samples to between 2 and 4. Use the lowest value that gives a desirable appearance to the soft body deformations.

  7. Using the Outliner, select the transform node of the high-resolution object, then Ctrl-select (Linux and Windows) or Command-select (Mac OS X) the low-resolution object.
  8. From the Animation menu set, select Create Deform > Wrap.

    This forces the high-resolution object to deform the same as the low-resolution object when you play the animation.

  9. Hide the low-resolution object.