Since the Weighted Deform can use pegs as a deformation source, it also allows you to connect other nodes that work with pegs. An interesting combination is to use the Weighted Deform node with a Dynamic Spring node. The Dynamic Spring node is able to create a spring-like movement on a peg using tension and inertia. By rigging pegs used as deformation points for the Weighted Deform node to Dynamic Spring nodes, you can add a dynamic spring effect to individual parts of a drawing.
For example, if you rig fluffy hair with points to a Weighted Deform node, and add pegs to the Weighted Deform nodes so as to animate the individual points, you can rig Dynamic Spring nodes to each peg. The result is that, if you move the hair around in the scene, a follow through animation will be automatically generated, based on that movement, for the individual deformation point. The points will trail behind the rest of the hair, then overshoot, then settle, creating the illusion of realistic hair physics.
Starting with the rig previously created in Combining Deformation Chains and Free Deformation Points, choose which sections of the hair will be given dynamics.
In the Node Library view, in the Constraint category, select a Dynamic Spring and drag it to the Node view.
While holding the Alt key, click and hold the Dynamic Spring node, then drag it over the cable above the peg for the point to which you want to add a dynamic spring effect. The Dynamic Spring node should be a parent of that peg, but a child of the that peg’s former parent peg.NOTE Placing the Dynamic Spring between the main peg and the individual pegs will offset the transformation applied to the individual pegs dynamically. The individual pegs below the Dynamic Spring can still be offset and animated manually.
Repeat steps 2 and 3 to add a Dynamic Spring node to every point to which you want to add the dynamic psring effect.
Now, as the character moves, the pegs controlling the tips of the hair will have a follow through effect applied to them, with trailing, overshoot and settling, automatically added to them. Those pegs can still be offset and animated manually, and the dynamic spring effect will be updated automatically.
In the Node View, in the Constraint category, drag a Constraint Switch node to the Node View. Then, connect the output port of the Constraint Switch node to the leftmost input port of each Dynamic Spring node.
The Constraint Switch will allow you to change the Active parameter of every Dynamic Spring switch simultaneously. This parameter defines the intensity of the dynamic spring effect on the movement.
In the Node View, click on the Layer Properties button of the Constraint Switch node to open its layer properties. Then, change its Active parameter to see if you can obtain the desired intensity for the dynamic spring effect.NOTE For more information on the layer properties of the Constraint Switch node,
see Constraint Switch Node.
If you need to make more specific tweaks to the dynamic spring effect, click on the Layer Properties button of one of the Dynamic Spring nodes, and change its parameters as desired. Then, apply similar changes to all the other Dynamic Spring nodes.NOTE For more information on the layer properties of the Dynamic Spring node,
see Dynamic Spring Node.