You now have a working muscle rig for the leg mesh. The Muscle skin deformer provides even more quality in the rigging with Sliding weights. This deformer lets you use true muscle and bone sliding under the skin. Combined with the Relax weights you can create in a later lesson, you can achieve very effective skin pulling and sliding effects.
Each main section of the deformer is broken down by label headings. For now, use the ones listed under the SLIDING section. The Sliding deformer can be turned on and off for faster interaction and playback.
Later you can adjust the quality attribute as needed. See Sliding attributes for further information about the quality attribute.
Start by painting weights for the hip blade bone.
As you paint, you can see the Sliding deformation start to happen. Note that the slide is not accurate because there is not enough detail in the mesh relative to the bone. This is a good example where you may want more skin detail for areas where smaller or thinner bones or muscles cause the sliding.
For areas where a muscle or bone often penetrates the skin during sliding, you can set a Fat value to create an offset between the muscle or bone and the skin.
The Fat attribute on the cMuscleObject shape node for each muscle or bone object lets you adjust the offset from the skin to the muscle or bone during sliding.
A good example is the MusHipBack muscle, since the skin often penetrates the muscle on the back. The image below shows that muscle painted with Sliding weights, and a fat offset on the muscle set to 0.55.
To define an offset from the skin mesh to the bone blade
The skin is now offset from the bone blade.
Notice that right now the Sliding only affects a few points and is somewhat sharp. The muscle is also causing some self-penetration due to Sliding. We can use another Sliding feature, called Direction weights to improve how the slide occurs.
By default, a vector type direction node is created at the origin. It has an arrow that points in the direction the Sliding will attempt to work once it is connected to the Muscle skin deformer.
In this case, since nothing was selected, a new cMuscleDirection shape node is created.
This creates a radial-type push out along an axis. The Length and Falloff Outer attributes control how far this axis goes.
Next, you connect the direction object to the Muscle deformer.
The Direction object is connected, although there is no visible change on the mesh because you have not yet painted Direction weights.
Leave the Falloff Outer attribute set to 1.0, as it only changes the length at the tips. The actual effect of the direction node comes only from weighting. The Inner/Outer Falloff values are primarily for visual feedback only.
This lets you set and paint Direction weights for any connected direction nodes.
The Sliding direction is now corrected so that it is pushed out radially from the center line of the muscle direction node. This corrects the penetration problem.
In this lesson you learned how to: