muscle name, face defining edge1, face defining edge2, uPosition, vPosition, offset from face Vector, and which end of the muscle to parent (i.e. insertion or origin)
Once properly setup, each bone attribute file will have stored each muscle that can attach to it and where. The second part of the script, the constraint rebuild, will take a muscle and a bone as its input and read the attribute file to replace the muscle in its original position. Using the offset vector, it can replace the muscle in its original position, even if the bone has moved since original setup. This will be essential when generating parts on the fly. All thats left to do now, regarding this aspect, is go through the dog model and add each muscle position to each bone attribute file.
Below, see the script in action:


No comments:
Post a Comment