Hello,
I've been attempting this for quite some time and just cant seem to get it right.
I understand how to equip weapons and single bone attachable items. The one thing that I cant figure out is how to equip an item that will cover multiple bones. For instance a shirt covers the torso which contains 5 bones, the upperarms and the forearms. I have tried again and again to make my shirt mesh attach to my char model but cannot get it to work properly.
I have a char model with the above mentioned bones.
I created a shirt model, used the same biped from char model, attached the vertices, deleted any animations. Deleted the unused bones that werent parents to critical bones.
I tried cycling through the entity names and EntityParent each bone from the shirt to the model and it all attaches until it gets to L_Clavicle then I have a problem. I have the custom function stop before it got to L_clavicle just to see how the first items attached and how it looked. Which with some tweaking may work.
I was just curious to see what others have done to make this sort of RPG equippable system and if anyone is willing to share their thoughts and code, hehehehe.
Thanks for any help here!
I've been attempting this for quite some time and just cant seem to get it right.
I understand how to equip weapons and single bone attachable items. The one thing that I cant figure out is how to equip an item that will cover multiple bones. For instance a shirt covers the torso which contains 5 bones, the upperarms and the forearms. I have tried again and again to make my shirt mesh attach to my char model but cannot get it to work properly.
I have a char model with the above mentioned bones.
I created a shirt model, used the same biped from char model, attached the vertices, deleted any animations. Deleted the unused bones that werent parents to critical bones.
I tried cycling through the entity names and EntityParent each bone from the shirt to the model and it all attaches until it gets to L_Clavicle then I have a problem. I have the custom function stop before it got to L_clavicle just to see how the first items attached and how it looked. Which with some tweaking may work.
I was just curious to see what others have done to make this sort of RPG equippable system and if anyone is willing to share their thoughts and code, hehehehe.
Thanks for any help here!