3Dアイテムの作成 - ブレンダー
リギング

Swing Bone Setup

11min
swing bone setup swing bones are added to the armature in edit mode in blender, bones are added using the add menu align the created bones to the elements of the model that need to move using the move, rotate, and scale tools please change the names of these added bones to something descriptive to their intended role an example of a nice, descriptive name could be “leftantennabase ” related swing bones should be linked together in a parented chain using the extrusion tool can be useful for quickly creating these chains otherwise, manual parenting can be required the structure of these parented bones show up in the hierarchy like so leftantennabase leftantenna01 leftantenna02 leftantenna03 to enable swing bone physics to a bone, the bone needs to have its name altered to include “ physics \[a] \[b] \[c] ,” where a, b, and c represent integer numbers for drag, angledrag, and restoredrag respectively physics will also be applied to any child bone of the renamed bone, and its respective children to change the physics properties of other bones in the chain, add the “ physics \[a] \[b] \[c] ” naming convention to the bones with edited parameters items must have weights bound to the swing bone chain for the physics to behave properly if the item is already bound to the armature, you can manually add weight vertex groups to the mesh with names that correspond to the bones paint weights to fit the bone structure like in the リギング docid\ u8fw4vrhkcsapcbrrh8s7 parameter definitions 622 drag the drag parameter affects the amount of sway imparted on the bone lower drag values will impart a greater amount of swing higher drag values will impart a more stiff movement typical drag value parameters range from 7 17 angle drag the angle drag parameter adjusts the maximum rotation range for the bone lower angle drag values impart a higher range of motion higher values impart a smaller range of motion typical angle drag parameters range from 10 25 restore drag the restore drag parameter adjusts the rate of the bone’s return to 0 lower values impart a slower return to 0 higher values impart a quicker return to 0 typical restore drag parameter values range from 15 30 📘 example \[bonename] physics 10 15 20 10 is the drag value, 15 is the angle drag, and 20 is the restore drag value precautions for swing bones if the bones are too close to each other or there are too many bones in the chain, the movement of the swing bone object may look unnatural it is recommended to use between 2 5 added bones per bone chain at one time align the bone orientation of the swing bones otherwise, there may be problems when the rotation value is calculated in app bone axis alignment can be adjusted in edit mode using the automated tool in armature > bone roll > recalculate roll, or by manual adjustment with the bone roll tool when tuning physics values, start with a drag value of 10, an angle drag value of 15, and a restore drag value of 20, and make adjustments from there please test the swing bone weight painting to ensure that the model does not behave improperly when the bones are moved precautions for making swing bones for hair it’s important to check on the swing bone’s behavior on the hair item check that when the swing bone hair moves, the inside of the hair geometry or the interior of the mask does not show particularly when making fringes and bangs, make sure the hair does not go through the face when it moves ✅ tips! it is recommended to not set swing bones for bangs for long hair, make sure that weights haven’t been mistakenly added to other parts of the hair mesh it's possible to paint bone weights on mesh elements in the background unintentionally, so double check your weights before exporting testing swing bone reactivity must be tested in unity or zepeto studio to test the item’s swing bone reactivity, export the item from blender, and import and convert the item in unity parameters for swing bones can be accessed and edited in the item’s unity prefab! check under the item’s bones and change the numbers in the bone name ⚠️ unity may not show the swing bones working at the proper speed swing bone speed will be most accurate in zepeto studio