when you playback the scene the straps fall off the character’s
shoulders as she walks. You can fix this by constraining the straps
to her body.
To constrain the dress straps
- Go to beginning of the playback range.
- Right-click the model and select Vertex.
- Select only the CVs of the dress straps.
nConstraint > Point to Surface.
An nConstraint creates
a dynamic link between an nCloth’s CVs and the components of other
nCloths or collision objects. A Point to Surface constraint attaches
nCloth components such as CVs, edges, or faces to a target surface.
In this case we are attaching the CVs of the dress straps to the character’s
- With the newly created constraint still
Display > Hide > Hide Selection.
The constraint markers
disappear to give you a better view of the dress straps.
If you de-selected
the constraint and have trouble re-selecting it, you can select
Window > Outliner
open the Maya Outliner
. You can then select the
constraint by left-clicking dynamicConstraint1
- Select the dress.
nCache > Create New Cache.
Maya automatically plays
back the nCloth simulation and saves it to disk.
- Playback the scene.
The dress straps now
stay with the character’s body throughout the animation.