I love this script! And I’m planning to use it in a professional project. But it only seems to take into the account the rotation of the parent to calculate the “down” direction.
I’ve made two nulls, the top one has this script on it, and the bottom one controls a puppet point on the hair. It works fairly nicely.
Moving the body of the rig around works great, and rotating the face too, the problem is getting a nice settle position when animating rotation higher in the hierarchy, like the neck or torso. Is there a fix to take into account all the rotations of the parents in the comp?
I’m guessing this has something to do with it:
lagValue-parent.rotation;
Help is greatly appreciated, and I’ll pos a link to the project, if the pilot ever finishes 😉