webaverse-studios / CharacterCreator

3D Avatar Creator for Everyone
https://moemate.io
MIT License
84 stars 47 forks source link

Create missing bones on imported models #359

Open memelotsqui opened 1 year ago

memelotsqui commented 1 year ago

VRM has some required bones and some optional, but current animation system breaks if users does not assign these optional bones, as a solution we can create empty nodes, parent to the hierarchy they should be, and assign them as the optional vrm bones in case user didnt add them. Without this fix, animation on custom imported models wont work