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: