![]() Add a single bone armature using the operator.Empties added to a collection and linked to scene.Run Script.Īdds an empty vertex-parented to each vertex. IMO this is a little easier to use for something like this and avoids dicking around with edit mode and heads and tails. Thanks for the answer below :) I managed to make a flag cloth sim and bake it to the bones and transfer that to Unity via FBX nicely.Įdit bones can be a little tricky, in script below instead have added the default single bone object, copied it to match number of verts, joined and constrained to the empties. The command for vertex parenting (I think) _set(type='VERTEX') Rig = (obj.name + '_vRig', amt)įor i, l in enumerate(zip(points, normals)): ![]() Vertices = īpy._add(type='PLAIN_AXES', location=vert)Īdd a bone to each vertex ( thanks): import bpyĭef AddBonesAtVertices(length, use_normals):Īmt = (obj.name + "_vBones") ![]() Building blocks: Add an empty to each vertex: import bpy I just couldn't to make it work :/ Except only some parts of it (scripts found from everywhere). So, I would like to have this happen with a script for each vertice of an object:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |