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

Unpacked prefabs referencing imported meshes with "force humanoid" should use a GeneralSkeleton #39

Open
lyuma opened this issue Dec 31, 2023 · 0 comments

Comments

@lyuma
Copy link
Member

lyuma commented Dec 31, 2023

Currently when force humanoid is used, the model usually successfully imports as humanoid, but the prefabs referencing the model do not have an Avatar set, or in some cases do not have an Animator at all, so we should add additional logic to handle this case.

The logic should be if force humanoid is on, and there is a skinned mesh referencing a model imported as humanoid (even if forced), the entire skeleton that skinned mesh is in should switch to being a GeneralSkeleton.

This is really useful for importing outfits such that they can be copied and pasted directly from the unpacked prefab (with materials assigned), into the model the outfit is for.

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

No branches or pull requests

1 participant