Dynamic Setup script
mel
dynamic_setup.mel4.51 Kb
To prepare the hair for dynamic setup, you need to ensure that the roots of the curls are on the surface of the head. The simplest and fastest way to magnet them to the head is to use a shrink wrap. Run the script that will select the root points of the NURBS, and press 'shrink wrap'.
https://boosty.to/ahoge/posts/3eec95a4-1584-42da-afbb-35090c86cd4b
https://boosty.to/ahoge/posts/3eec95a4-1584-42da-afbb-35090c86cd4b
Currently, the script only works with NURBS cylinders parameterized from 0 to 1. Therefore, before running the script, go to Rebuild and check this parameter.
Then, press the 'delete intermediate object' button, which was added in version 0.9 of the plugin. This activated command will automatically delete the orig shapes that can appear if you apply certain deformers (like a wrap) to the NURBS. You can also find them manually using a search mask and delete them yourself.
Next, select the group of NURBS and the head or scalp geometry. The script will create curves inside the NURBS, convert them into dynamic curves, create bones along each curve, and bind the NURBS to these bones. The dynamic curves will control the bone chains via an IK spline.
For the dynamics to display correctly in the viewport, you need to set the playback to 'play every frame' in the settings
scripts
video tutorial