• 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 /
  • Help Room /
avatar image
0
Question by EvyBenita · Dec 28, 2017 at 04:11 PM · characterperformance optimizationcustomizationskinned mesh renderercharacter customization

Best approach(es) to in-game character customization?

Hi everyone,

I'm working on a mobile game with 3D graphics, and I'm trying to track down some good approaches to allow the player to customize the clothing and accessories of his or her character. The characters are all humanoid, and I'm using the Mixamo rigging tool.

My first idea was to rig the character's body mesh with all the clothes and accessories already on it, deactivate all of them in the hierarchy in Unity, and activate the objects chosen by the player through script. -But there are a lot of accessories, and we're likely to add more through later updates. This approach seems very inefficient to me, but I can't think of another way to do it seeing as the clothes need to move with the character's body.

Any recommendations to approaches or plugins are greatly appreciated :D Thank you!

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by theANMATOR2b · Dec 28, 2017 at 06:38 PM

UMA is one option. Another is to use the same rig for all accessories and merge/map the clothing pieces onto the character at run-time. I do not know how this is done (artist) but know this is how a lot of teams do it. The entire hierarchy will be exported with the rigged mesh accessories (only) out of 3D - and in Unity it will be (merged) onto the character, also using the same rig. This is a different process than the one you detailed, but similar.

Usually this process is done when there is a base character - complete body, and the clothes are merged into the current rig with it's own skinning information. Since the clothes use the same rig as the character - all the animations used (via humanoid) work as expected.

This process allows a intermediate 'system' to handle/instantiate the character with selected accessories/clothing from a pool/array of skinned mesh objects. Again - this is not a process I know - but I know this is a process used.

Once the selected items are designated via character select or purchasing a new item etc. etc. the item is pulled from the pool/array and assigned to the character rig, or base body.

There are other character customization packs in the asset store that could provide more insight on systems like this.

Comment
Add comment · Share
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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

147 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Passing data to another scene 0 Answers

Character Customization 0 Answers

What is the best way to create character customization? 0 Answers

Customizable sprite character using multiple layers? 0 Answers

skinned vs segmented mesh performance on hololens 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges