Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by altra4u · Jun 10, 2012 at 09:51 AM · meshcharacterskinnedmeshrendererswap

How can I swap character body parts at runtime?

Hello

I have been looking at 2 examples. Character Customization tutorial by Unity and my project which brings in a model.fbx file.

In Character Customization, when you run the DressingRoomExample scene, a female avatar is created as you can see in the Hierarchy view. When you click on this female node, you can see it has the skinnedmeshrenderer on it and it selects the entire female mesh. The female node has a hierarchy where each child node is simply a transform.

In my project, I imported a male model which has a similar hierarchy to the female model. However, the main node does not have the skinnemeshrenderer component but instead each individual child node has one. The main node simply has Transform and Animation component on it. When you click on the main node though, it does select the entire mesh.

So even though these 2 node structures are different why does Unity interpret them as one character mesh???

Basically I wish to swap out a character's mesh parts in runtime and continue being able to use the character. What are the different things I will need to do for this?

Help appreciated.

Thanks

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image altra4u · Jun 10, 2012 at 08:20 PM 0
Share

Tried that the first thing. It will work for something like weapons which do not participate in the animation as a skinned mesh. When I select my parent node the new head I put in was not even selected like the other mesh parts. $$anonymous$$ore stuff needs to be done.

avatar image commodore · Jun 11, 2012 at 04:30 PM 0
Share

I'd also like a bit better explanation of the character customization tutorial. I've tried it myself with no luck

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Character Animation Pose Mesh,Animated Pose Mesh 0 Answers

Character Mesh gets triangulated and Distorted at runtime 3 Answers

Modeling Best Practices--manifold vs non-manifold 0 Answers

Faces of mesh getting deleted on import (Cinema 4D) 3 Answers

SkinnedMeshRenderer only has 'sharedMesh', no 'mesh', How to modify? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges