artieficial / ApplyAccessories

Useful tool for merging armatures in Unity and adding accessories in VRChat.
MIT License
68 stars 3 forks source link

Clothing Resizing / Dissapearing on Apply #13

Open Nosuuddo opened 2 years ago

Nosuuddo commented 2 years ago

Using socks on RexEvoloved and whenever I hit apply changes, both resuing and not reusing bones grants me issues. Pictures Below: What it is supposed to look like: sockissue1

Re-using bones resizes them: sockissuereusebone

Not Re-using bones makes only legs appear from a distance and dissapear when zooming in, arms gone, and both arms/legs boxes are resized: sockissuedontreusebonelegs sockissuedontreuseboneszoomin sockissuedontreusebonezoomout

My running theory is that all of the bones are in "Socks" not "Arms" and "Legs" So it might be trying to work with just the meshes, but I'm not sure how to work around that.

For now I followed a different tutorial on manually assigning bones, but really want this to work! lmk if you need any more info to find a fix, thank you for taking time for us and good luck homie! <3

Krunklehorn commented 2 years ago

The author doesn't seem to be replying so I'll try to help instead. I'm not sure how to solve the second case, but for the former, the accessory explodes because it was exported from Blender with a different scaling setting than the avatar you're trying to apply it to. Here is a post I've made before attempting to explain the issue:

image

You can contact me on Discord @ Krunk#6051 if you have any more questions.

artieficial commented 2 years ago

Yup, scaling settings can be a nightmare, you will want to use the don't reuse bone options since it can get really screwy otherwise. Its unfortunate, but I'm not sure how to work through that yet.

Bun commented 1 year ago

FWIW, what seems to work is changing the Scale Factor in the Model settings of the accessory FBX. I have a set of accessories with 100x scale, so simply setting the Scale Factor to 100 on its FBX lets me reuse the avatar's bones.