Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix humanoid avatar bone mappings in Unity (#13) #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JashoBell
Copy link

@JashoBell JashoBell commented Sep 13, 2022

As mentioned/pictured in #13, Unity imports attempting to create a biped humanoid avatar when not using end up constructed incorrectly, potentially because the human description is based on the model with the clavicles attached to the neck. The jaw also appears out of place. This change reconstructs the skeleton when a human animator is selected after the clavicles have been attached to "Bip01 Spine2", and also fixes the jaw's positioning.

There is also an additional boolean which can enable the creation of a wrist bone between the hand and forearm in the hierarchy, which might be useful for projects using these models as self-avatars (something I am personally doing- thank you for the resource! 😄).

Current limitations:
It seems like the avatars must be imported twice before they are given the "avatar" component. I am not sure why this is or how to fix it at the moment, but will continue exploring how to do so.

Please let me know if there are any issues, requested changes, etc. I am new to PRs! Thank you!

@ghost
Copy link

ghost commented Sep 13, 2022

CLA assistant check
All CLA requirements met.

@laumagg
Copy link

laumagg commented Nov 13, 2023

THANK YOU! It works, and I hope it will be merged soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants